The best way to control Claude Code, Codex and more from any computer or phone
| 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 | } |