@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 12 lines 370 Bytes
Raw
1 export type AndroidNavigationStyle = "one-ui" | "material";
2
3 export function resolveAndroidNavigationStyle(
4 preference: AndroidNavigationStyle | undefined,
5 manufacturer: string | null,
6 previewEnabled: boolean,
7 ): AndroidNavigationStyle {
8 return (
9 preference ??
10 (manufacturer?.toLowerCase() === "samsung" || previewEnabled ? "one-ui" : "material")
11 );
12 }