Skip to content

Commit f084b13

Browse files
committed
fix(ios): remove dead reskin symbols
1 parent 8d16616 commit f084b13

5 files changed

Lines changed: 14 additions & 20 deletions

File tree

apps/.i18n/native-source.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7211,39 +7211,39 @@
72117211
},
72127212
{
72137213
"kind": "ui-modifier",
7214-
"line": 184,
7214+
"line": 185,
72157215
"path": "apps/ios/Sources/Design/ChatProTab.swift",
72167216
"source": "Opens Settings / Gateway",
72177217
"surface": "apple",
72187218
"id": "native.apple.d19c9577e0fdfea7"
72197219
},
72207220
{
72217221
"kind": "conditional-branch",
7222-
"line": 233,
7222+
"line": 235,
72237223
"path": "apps/ios/Sources/Design/ChatProTab.swift",
72247224
"source": "Connected",
72257225
"surface": "apple",
72267226
"id": "native.apple.b635acd93246d67b"
72277227
},
72287228
{
72297229
"kind": "conditional-branch",
7230-
"line": 233,
7230+
"line": 235,
72317231
"path": "apps/ios/Sources/Design/ChatProTab.swift",
72327232
"source": "Unavailable",
72337233
"surface": "apple",
72347234
"id": "native.apple.04934af85e3b9d6e"
72357235
},
72367236
{
72377237
"kind": "conditional-branch",
7238-
"line": 244,
7238+
"line": 246,
72397239
"path": "apps/ios/Sources/Design/ChatProTab.swift",
72407240
"source": "Connect to a gateway",
72417241
"surface": "apple",
72427242
"id": "native.apple.889fe76e02b8ad5d"
72437243
},
72447244
{
72457245
"kind": "conditional-branch",
7246-
"line": 244,
7246+
"line": 246,
72477247
"path": "apps/ios/Sources/Design/ChatProTab.swift",
72487248
"source": "Message \\(self.agentDisplayName)...",
72497249
"surface": "apple",
@@ -8259,55 +8259,55 @@
82598259
},
82608260
{
82618261
"kind": "ui-call",
8262-
"line": 405,
8262+
"line": 403,
82638263
"path": "apps/ios/Sources/Design/OpenClawProComponents.swift",
82648264
"source": "Request ID: \\(value)",
82658265
"surface": "apple",
82668266
"id": "native.apple.f36a9ff70377109b"
82678267
},
82688268
{
82698269
"kind": "ui-modifier",
8270-
"line": 660,
8270+
"line": 658,
82718271
"path": "apps/ios/Sources/Design/OpenClawProComponents.swift",
82728272
"source": "OpenClaw",
82738273
"surface": "apple",
82748274
"id": "native.apple.cf9bb65f8e405cc8"
82758275
},
82768276
{
82778277
"kind": "ui-modifier",
8278-
"line": 688,
8278+
"line": 686,
82798279
"path": "apps/ios/Sources/Design/OpenClawProComponents.swift",
82808280
"source": "Gateway \\(self.title)",
82818281
"surface": "apple",
82828282
"id": "native.apple.51c566ed34b67acf"
82838283
},
82848284
{
82858285
"kind": "conditional-branch",
8286-
"line": 693,
8286+
"line": 691,
82878287
"path": "apps/ios/Sources/Design/OpenClawProComponents.swift",
82888288
"source": "Online",
82898289
"surface": "apple",
82908290
"id": "native.apple.72baecec6cf1b462"
82918291
},
82928292
{
82938293
"kind": "conditional-branch",
8294-
"line": 695,
8294+
"line": 693,
82958295
"path": "apps/ios/Sources/Design/OpenClawProComponents.swift",
82968296
"source": "Connecting",
82978297
"surface": "apple",
82988298
"id": "native.apple.ca9dfb05d9034ff7"
82998299
},
83008300
{
83018301
"kind": "conditional-branch",
8302-
"line": 697,
8302+
"line": 695,
83038303
"path": "apps/ios/Sources/Design/OpenClawProComponents.swift",
83048304
"source": "Attention",
83058305
"surface": "apple",
83068306
"id": "native.apple.d7a3d53412e23e88"
83078307
},
83088308
{
83098309
"kind": "conditional-branch",
8310-
"line": 699,
8310+
"line": 697,
83118311
"path": "apps/ios/Sources/Design/OpenClawProComponents.swift",
83128312
"source": "Offline",
83138313
"surface": "apple",

apps/ios/Sources/Design/ChatProTab.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,11 @@ struct ChatProTab: View {
181181
self.connectionPill
182182
}
183183
.buttonStyle(.plain)
184+
.accessibilityLabel(self.gatewayAccessibilityLabel)
184185
.accessibilityHint("Opens Settings / Gateway")
185186
} else {
186187
self.connectionPill
188+
.accessibilityLabel(self.gatewayAccessibilityLabel)
187189
}
188190
}
189191

apps/ios/Sources/Design/OpenClawBrand.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ enum OpenClawBrand {
8383
static let uiTeal = adaptiveUIColor(light: (0, 196, 176), dark: (0, 196, 176))
8484
static let uiVoid = adaptiveUIColor(light: (246, 247, 249), dark: (11, 12, 17))
8585
static let uiObsidian = adaptiveUIColor(light: (255, 255, 255), dark: (19, 21, 28))
86-
static let uiSlate = adaptiveUIColor(light: (242, 243, 247), dark: (28, 31, 43))
8786
static let uiTextPrimary = adaptiveUIColor(light: (11, 12, 17), dark: (242, 239, 232))
8887
static let uiTextSecondary = adaptiveUIColor(light: (90, 94, 110), dark: (168, 170, 191))
8988
static let uiOK = adaptiveUIColor(light: (19, 122, 62), dark: (48, 209, 88))
@@ -99,7 +98,6 @@ enum OpenClawBrand {
9998
static let teal = Color(uiColor: Self.uiTeal)
10099
static let void = Color(uiColor: Self.uiVoid)
101100
static let obsidian = Color(uiColor: Self.uiObsidian)
102-
static let slate = Color(uiColor: Self.uiSlate)
103101
static let textPrimary = Color(uiColor: Self.uiTextPrimary)
104102
static let textSecondary = Color(uiColor: Self.uiTextSecondary)
105103
static let danger = Color(uiColor: Self.uiDanger)

apps/ios/Sources/Design/OpenClawProComponents.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ enum OpenClawSpacing {
1414
static let space3: CGFloat = 12
1515
static let space4: CGFloat = 16
1616
static let space6: CGFloat = 24
17-
static let space8: CGFloat = 32
1817
}
1918

2019
enum OpenClawRadius {
2120
static let xs: CGFloat = 8
2221
static let sm: CGFloat = 10
2322
static let md: CGFloat = 12
2423
static let lg: CGFloat = 16
25-
static let xl: CGFloat = 20
2624
}
2725

2826
struct OpenClawProBackground: View {

apps/ios/Sources/Design/OpenClawTypography.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ enum OpenClawType {
2929
scaledDisplay(weight: Display.opticalBold, size: 17, relativeTo: .headline)
3030
}
3131

32-
static func display(size: CGFloat, weight: CGFloat, relativeTo textStyle: UIFont.TextStyle) -> Font {
33-
self.scaledDisplay(weight: weight, size: size, relativeTo: textStyle)
34-
}
35-
3632
// MARK: - Body — Inter
3733

3834
static var body: Font {

0 commit comments

Comments
 (0)