From 5d3399c3d075bc1c343cc360895f752ba6769193 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 21 Aug 2026 00:41:46 -0700 Subject: [PATCH] fix(watch): encode approval instance on resolve --- apps/ios/WatchApp/Sources/WatchConnectivityReceiver.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ios/WatchApp/Sources/WatchConnectivityReceiver.swift b/apps/ios/WatchApp/Sources/WatchConnectivityReceiver.swift index 5331db730710..a90f2bd2fcc4 100644 --- a/apps/ios/WatchApp/Sources/WatchConnectivityReceiver.swift +++ b/apps/ios/WatchApp/Sources/WatchConnectivityReceiver.swift @@ -624,9 +624,6 @@ final class WatchConnectivityReceiver: NSObject, @unchecked Sendable { if let gatewayStableID = WatchGatewayID.exact(message.gatewayStableID) { payload["gatewayStableID"] = gatewayStableID } - if let approvalInstanceId = message.approvalInstanceId, !approvalInstanceId.isEmpty { - payload["approvalInstanceId"] = approvalInstanceId - } if let text = message.text?.trimmingCharacters(in: .whitespacesAndNewlines), !text.isEmpty { @@ -675,6 +672,9 @@ final class WatchConnectivityReceiver: NSObject, @unchecked Sendable { if let gatewayStableID = WatchGatewayID.exact(message.gatewayStableID) { payload["gatewayStableID"] = gatewayStableID } + if let approvalInstanceId = message.approvalInstanceId, !approvalInstanceId.isEmpty { + payload["approvalInstanceId"] = approvalInstanceId + } if let sentAtMs = message.sentAtMs { payload["sentAtMs"] = sentAtMs }