From 1bb3a64dc1940705c6505e352223c5236705036c Mon Sep 17 00:00:00 2001 From: Eulices Lopez <105620565+eulicesl@users.noreply.github.com> Date: Thu, 19 Mar 2026 10:52:01 -0400 Subject: [PATCH] fix(ios): use effective agent label for live activity When the gateway has a default agent but the user has no explicit selection, the Dynamic Island should show the resolved active agent name instead of falling back to a hardcoded main placeholder.\n\nUse NodeAppModel.activeAgentName when starting the Live Activity so the label stays aligned with the effective gateway agent identity. --- apps/ios/Sources/Model/NodeAppModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ios/Sources/Model/NodeAppModel.swift b/apps/ios/Sources/Model/NodeAppModel.swift index 63f197885e1..1bce6e51ae4 100644 --- a/apps/ios/Sources/Model/NodeAppModel.swift +++ b/apps/ios/Sources/Model/NodeAppModel.swift @@ -1955,7 +1955,7 @@ private extension NodeAppModel { liveActivity.handleConnecting() } else { liveActivity.startActivity( - agentName: self.selectedAgentId ?? "main", + agentName: self.activeAgentName, sessionKey: self.mainSessionKey) } }