@@ -51,6 +51,7 @@ import { useSavedRemoteConnections } from "../../state/use-remote-environment-re
5151import { SettingsRow } from "./components/SettingsRow" ;
5252import { SettingsSection } from "./components/SettingsSection" ;
5353import { SettingsSwitchRow } from "./components/SettingsSwitchRow" ;
54+ import { resolveAgentAwarenessPlatformPresentation } from "./SettingsRouteScreen.logic" ;
5455
5556type NotificationStatus = "checking" | "enabled" | "disabled" | "unsupported" ;
5657type LiveActivityStatus = "checking" | "enabled" | "disabled" | "signed-out" | "linking" ;
@@ -149,6 +150,7 @@ function ConfiguredSettingsRouteScreen() {
149150 const preferencesResult = useAtomValue ( mobilePreferencesAtom ) ;
150151 const savePreferences = useAtomSet ( updateMobilePreferencesAtom ) ;
151152 const agentAwarenessPushAvailable = supportsAgentAwarenessPush ( ) ;
153+ const agentAwarenessPlatform = resolveAgentAwarenessPlatformPresentation ( Platform . OS ) ;
152154 const insets = useSafeAreaInsets ( ) ;
153155 const navigation = useNavigation ( ) ;
154156 const { expand : expandClerkSheet } = useClerkSettingsSheetDetent ( ) ;
@@ -485,10 +487,12 @@ function ConfiguredSettingsRouteScreen() {
485487 icon = "bell.badge"
486488 label = "Device Notifications"
487489 disabled = {
490+ ! agentAwarenessPlatform . supported ||
488491 ! agentAwarenessPushAvailable ||
489492 notificationStatus === "checking" ||
490493 notificationStatus === "unsupported"
491494 }
495+ subtitle = { agentAwarenessPlatform . subtitle }
492496 // Only reads as on when this device is actually registered with the
493497 // relay; otherwise notifications cannot be delivered regardless of
494498 // the local iOS permission.
@@ -499,13 +503,15 @@ function ConfiguredSettingsRouteScreen() {
499503 />
500504 < SettingsSwitchRow
501505 disabled = {
506+ ! agentAwarenessPlatform . supported ||
502507 ! agentAwarenessPushAvailable ||
503508 ! isLoaded ||
504509 liveActivityStatus === "checking" ||
505510 liveActivityStatus === "linking"
506511 }
507512 icon = "bolt.circle"
508513 label = "Live Activity Updates"
514+ subtitle = { agentAwarenessPlatform . subtitle }
509515 // Same gate: a saved preference is meaningless until the device
510516 // registration the relay needs to push updates has succeeded.
511517 value = {
0 commit comments