diff --git a/apps/ios/Tests/Logic/WatchChatStatusLocalizationTests.swift b/apps/ios/Tests/Logic/WatchChatStatusLocalizationTests.swift index 6ec80724009f..f5a17a8e5f15 100644 --- a/apps/ios/Tests/Logic/WatchChatStatusLocalizationTests.swift +++ b/apps/ios/Tests/Logic/WatchChatStatusLocalizationTests.swift @@ -9,6 +9,7 @@ struct WatchChatStatusLocalizationTests { #expect(snapshot.gatewayStatus.code == .gatewayProblem) #expect(snapshot.gatewayStatus.localizationKey == "Gateway update required") #expect(snapshot.gatewayStatus.verbatim == nil) + #expect(snapshot.agentAvatarURL == "https://example.com/avatar.png") #expect(snapshot.talkStatus.code == .talkOff) #expect(snapshot.chatStatus?.code == .chatConnectIPhone) } @@ -158,6 +159,7 @@ struct WatchChatStatusLocalizationTests { ], "gatewayConnected": false, "agentName": "Main", + "agentAvatarURL": "https://example.com/avatar.png", "sessionKey": "main", "talkStatus": [ "code": OpenClawWatchAppStatusCode.talkOff.rawValue, diff --git a/apps/ios/WatchApp/Sources/WatchInboxMessages.swift b/apps/ios/WatchApp/Sources/WatchInboxMessages.swift index 1a8caab34407..98639cfadded 100644 --- a/apps/ios/WatchApp/Sources/WatchInboxMessages.swift +++ b/apps/ios/WatchApp/Sources/WatchInboxMessages.swift @@ -500,7 +500,7 @@ struct WatchAppSnapshotMessage: Codable, Equatable { let gatewayConnected = Self.boolValue(payload["gatewayConnected"]) let agentName = (payload["agentName"] as? String)? .trimmingCharacters(in: .whitespacesAndNewlines) ?? "" - let agentAvatarURL = (payload["agentAvatarUrl"] as? String)? + let agentAvatarURL = (payload["agentAvatarURL"] as? String)? .trimmingCharacters(in: .whitespacesAndNewlines) let agentAvatarText = (payload["agentAvatarText"] as? String)? .trimmingCharacters(in: .whitespacesAndNewlines)