Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

SettingsRouteScreen.logic.ts

8 lines328 Bytes

1export function resolveAgentAwarenessPlatformPresentation(platform: string): {
2 readonly supported: boolean;
3 readonly subtitle: string | undefined;
4} {
5 return platform === "ios" || platform === "android"
6 ? { supported: true, subtitle: undefined }
7 : { supported: false, subtitle: "Unavailable on this platform" };
8}