Skip to content

Commit acf1436

Browse files
committed
refactor(version): streamline UI manager display logic
1 parent 79c38db commit acf1436

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

src/app/(screens)/version.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,18 @@ export default function Version(): React.JSX.Element {
155155
android: 'calendar_today' as MaterialIcon,
156156
web: 'Calendar' as LucideIcon
157157
}
158+
},
159+
{
160+
title: t('version.formlist.app.uiManager'),
161+
value: systemInfo.uiManager,
162+
icon: {
163+
ios: 'atom',
164+
android: 'code' as MaterialIcon,
165+
web: 'Atom' as LucideIcon
166+
}
158167
}
159168
]
160-
: []),
161-
{
162-
title: t('version.formlist.app.uiManager'),
163-
value: systemInfo.uiManager,
164-
icon: {
165-
ios: 'atom',
166-
android: 'code' as MaterialIcon,
167-
web: 'Atom' as LucideIcon
168-
}
169-
}
169+
: [])
170170
]
171171
},
172172
{

src/components/Layout/Tabbar.web.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,11 @@ const TabLayout = (): React.JSX.Element => {
2525
tabBarActiveBackgroundColor: styleTheme.colors.primaryBackground,
2626
tabBarInactiveTintColor: styleTheme.colors.labelColor,
2727
tabBarStyle: {
28-
backgroundColor: styleTheme.colors.card,
29-
height: isMobile ? 65 : undefined
28+
backgroundColor: styleTheme.colors.card
3029
},
3130
tabBarLabelStyle: {
3231
paddingTop: isPad ? 4 : 0
3332
},
34-
tabBarIconStyle: {
35-
marginTop: isMobile ? 10 : undefined
36-
},
3733
tabBarShowLabel: !isMobile,
3834
tabBarLabelPosition: isMobile
3935
? undefined

0 commit comments

Comments
 (0)