@@ -21,7 +21,6 @@ struct RootTabsPhoneControlHub: View {
2121 ForEach ( self . groups) { group in
2222 self . groupSection ( group)
2323 }
24- self . versionFooter
2524 }
2625 . padding ( . vertical, self . isCompactHeight ? 10 : 16 )
2726 }
@@ -51,7 +50,7 @@ struct RootTabsPhoneControlHub: View {
5150 . font ( . subheadline. weight ( . semibold) )
5251 . lineLimit ( 1 )
5352 Text ( self . gatewayDisplayLabel)
54- . font ( . caption )
53+ . font ( . footnote )
5554 . foregroundStyle ( . secondary)
5655 . lineLimit ( 1 )
5756 . truncationMode ( . middle)
@@ -71,7 +70,7 @@ struct RootTabsPhoneControlHub: View {
7170 . font ( . headline)
7271 . lineLimit ( 1 )
7372 Text ( self . gatewayDisplayLabel)
74- . font ( . caption )
73+ . font ( . footnote )
7574 . foregroundStyle ( . secondary)
7675 . lineLimit ( 1 )
7776 . truncationMode ( . middle)
@@ -98,14 +97,14 @@ struct RootTabsPhoneControlHub: View {
9897 . font ( . subheadline. weight ( . semibold) )
9998 . foregroundStyle ( . primary)
10099 Text ( self . gatewayDisplayLabel)
101- . font ( . caption )
100+ . font ( . footnote )
102101 . foregroundStyle ( . secondary)
103102 . lineLimit ( 1 )
104103 . truncationMode ( . middle)
105104 }
106105 Spacer ( minLength: 8 )
107106 Text ( self . gatewayActionTitle)
108- . font ( . caption . weight ( . semibold) )
107+ . font ( . footnote . weight ( . semibold) )
109108 . foregroundStyle ( OpenClawBrand . accent)
110109 Image ( systemName: " chevron.right " )
111110 . font ( . caption2. weight ( . bold) )
@@ -157,13 +156,13 @@ struct RootTabsPhoneControlHub: View {
157156
158157 private func rowLabel( _ destination: RootTabs . SidebarDestination ) -> some View {
159158 HStack ( alignment: . center, spacing: 12 ) {
160- ProIconBadge ( systemName: destination. systemImage, color: self . color ( for : destination ) )
159+ ProIconBadge ( systemName: destination. systemImage, color: . secondary )
161160 VStack ( alignment: . leading, spacing: 3 ) {
162161 Text ( destination. title)
163162 . font ( . subheadline. weight ( . semibold) )
164163 . foregroundStyle ( . primary)
165164 Text ( destination. subtitle)
166- . font ( . caption )
165+ . font ( . footnote )
167166 . foregroundStyle ( . secondary)
168167 . lineLimit ( 1 )
169168 }
@@ -177,20 +176,6 @@ struct RootTabsPhoneControlHub: View {
177176 . contentShape ( Rectangle ( ) )
178177 }
179178
180- private var versionFooter : some View {
181- ProCard ( radius: OpenClawProMetric . cardRadius) {
182- HStack {
183- Spacer ( )
184- Text ( " v \( DeviceInfoHelper . openClawVersionString ( ) ) " )
185- . font ( . caption. weight ( . semibold) )
186- . foregroundStyle ( . secondary)
187- . lineLimit ( 1 )
188- Spacer ( )
189- }
190- }
191- . padding ( . horizontal, OpenClawProMetric . pagePadding)
192- }
193-
194179 @ViewBuilder
195180 private func detail( for destination: RootTabs . SidebarDestination ) -> some View {
196181 switch destination {
@@ -350,19 +335,6 @@ struct RootTabsPhoneControlHub: View {
350335 verticalSizeClass == . compact ? 72 : 112
351336 }
352337
353- private func color( for destination: RootTabs . SidebarDestination ) -> Color {
354- switch destination {
355- case . chat, . talk, . overview, . gateway:
356- OpenClawBrand . accent
357- case . instances:
358- Color . secondary
359- case . activity, . usage, . docs:
360- OpenClawBrand . accentHot
361- case . agents, . workboard, . skillWorkshop, . sessions, . dreaming, . cron, . settings:
362- OpenClawBrand . ok
363- }
364- }
365-
366338 private func resolveDefaultAgentID( ) -> String {
367339 self . normalized ( self . appModel. gatewayDefaultAgentId) ?? " "
368340 }
0 commit comments