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

main
ts 12 lines 528 Bytes
Raw
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 }