import { Platform } from "react-native";
import { useAppearancePreferences } from "../../features/settings/appearance/AppearancePreferencesProvider";
import { DEFAULT_BASE_FONT_SIZE } from "../../lib/appearancePreferences";
import { resolveAndroidControlSizing } from "../../lib/androidControlSizing";
export function useAndroidControlSizing() {
const { appearance } = useAppearancePreferences();
return resolveAndroidControlSizing(
Platform.OS === "android" ? appearance.baseFontSize : DEFAULT_BASE_FONT_SIZE,
);
}