···4949export const IS_HIGH_DPI: boolean = true
5050// ideally we'd use isLiquidGlassAvailable() from expo-glass-effect but checking iOS version is good enough for now
5151export const IS_LIQUID_GLASS: boolean = iOSMajorVersion >= 26
5252+// So we can avoid attempting on-device translation when we know it's unsupported.
5353+export const HAS_ON_DEVICE_TRANSLATION: boolean =
5454+ (IS_IOS && iOSMajorVersion >= 18) || IS_ANDROID
···66import {IS_ANDROID} from '#/env'
7788/**
99- * Will always link out to Google Translate. If inline translation is desired,
1010- * use `useTranslateOnDevice`
99+ * @deprecated Will always link out to Google Translate. Prefer `useTranslate`.
1110 */
1212-export function useTranslate() {
1111+export function useGoogleTranslate() {
1312 const openLink = useOpenLink()
14131514 return useCallback(