The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { msg } from "gt-react-native"; |
| 2 | |
| 3 | import { m, type MessageResolver } from "../../i18n/messages"; |
| 4 | |
| 5 | export function resolveAgentAwarenessPlatformPresentation( |
| 6 | platform: string, |
| 7 | resolve: MessageResolver = m, |
| 8 | ): { |
| 9 | readonly supported: boolean; |
| 10 | readonly subtitle: string | undefined; |
| 11 | } { |
| 12 | return platform === "ios" || platform === "android" |
| 13 | ? { supported: true, subtitle: undefined } |
| 14 | : { supported: false, subtitle: resolve(msg("Unavailable on this platform")) }; |
| 15 | } |