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
| 1 | import { Platform } from "react-native"; |
| 2 | |
| 3 | import { useAppearancePreferences } from "../../features/settings/appearance/AppearancePreferencesProvider"; |
| 4 | import { DEFAULT_BASE_FONT_SIZE } from "../../lib/appearancePreferences"; |
| 5 | import { resolveAndroidControlSizing } from "../../lib/androidControlSizing"; |
| 6 | |
| 7 | export function useAndroidControlSizing() { |
| 8 | const { appearance } = useAppearancePreferences(); |
| 9 | return resolveAndroidControlSizing( |
| 10 | Platform.OS === "android" ? appearance.baseFontSize : DEFAULT_BASE_FONT_SIZE, |
| 11 | ); |
| 12 | } |