mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-05 13:53:33 +00:00
improve: tighten iOS Control row density (#99468)
* improve: tighten iOS Control row density * test(ios): drop brittle control row source guards * chore(i18n): sync iOS Control inventory --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
@@ -8323,7 +8323,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "ui-named-argument",
|
||||
"line": 132,
|
||||
"line": 130,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Overview",
|
||||
"surface": "apple",
|
||||
@@ -8331,7 +8331,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "ui-named-argument",
|
||||
"line": 154,
|
||||
"line": 152,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Instances",
|
||||
"surface": "apple",
|
||||
@@ -8339,7 +8339,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "ui-named-argument",
|
||||
"line": 163,
|
||||
"line": 161,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Dreaming",
|
||||
"surface": "apple",
|
||||
@@ -8347,7 +8347,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "ui-named-argument",
|
||||
"line": 168,
|
||||
"line": 166,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Usage",
|
||||
"surface": "apple",
|
||||
@@ -8355,7 +8355,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "ui-named-argument",
|
||||
"line": 173,
|
||||
"line": 171,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Cron Jobs",
|
||||
"surface": "apple",
|
||||
@@ -8363,7 +8363,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "conditional-branch",
|
||||
"line": 243,
|
||||
"line": 241,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Online",
|
||||
"surface": "apple",
|
||||
@@ -8371,7 +8371,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "conditional-branch",
|
||||
"line": 244,
|
||||
"line": 242,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Connecting",
|
||||
"surface": "apple",
|
||||
@@ -8379,7 +8379,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "conditional-branch",
|
||||
"line": 245,
|
||||
"line": 243,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Attention",
|
||||
"surface": "apple",
|
||||
@@ -8387,7 +8387,7 @@
|
||||
},
|
||||
{
|
||||
"kind": "conditional-branch",
|
||||
"line": 246,
|
||||
"line": 244,
|
||||
"path": "apps/ios/Sources/Design/RootTabsPhoneControlHub.swift",
|
||||
"source": "Offline",
|
||||
"surface": "apple",
|
||||
|
||||
@@ -109,13 +109,11 @@ struct RootTabsPhoneControlHub: View {
|
||||
}
|
||||
|
||||
private func rowLabel(_ destination: RootTabs.SidebarDestination) -> some View {
|
||||
HStack(alignment: .center, spacing: 12) {
|
||||
ProIconBadge(systemName: destination.systemImage, color: .secondary)
|
||||
Label {
|
||||
Text(destination.title)
|
||||
.font(.subheadline.weight(.semibold))
|
||||
.foregroundStyle(.primary)
|
||||
} icon: {
|
||||
ProIconBadge(systemName: destination.systemImage, color: .secondary)
|
||||
}
|
||||
.padding(.vertical, 3)
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
|
||||
Reference in New Issue
Block a user