···11import {useCallback} from 'react'
22import {SystemBars} from 'react-native-edge-to-edge'
3344-import {IS_IOS} from '#/env'
44+import {IS_IOS, IS_LIQUID_GLASS} from '#/env'
5566/**
77 * If we're calling a system API like the image picker that opens a sheet
···99 */
1010export function useSheetWrapper() {
1111 return useCallback(async <T>(promise: Promise<T>): Promise<T> => {
1212- if (IS_IOS) {
1212+ if (IS_IOS && !IS_LIQUID_GLASS) {
1313 const entry = SystemBars.pushStackEntry({
1414 style: {
1515 statusBar: 'light',
···1717import * as Toggle from '#/components/forms/Toggle'
1818import {TimesLarge_Stroke2_Corner0_Rounded as XIcon} from '#/components/icons/Times'
1919import {Text} from '#/components/Typography'
2020-import {IS_NATIVE, IS_WEB} from '#/env'
2020+import {IS_LIQUID_GLASS, IS_NATIVE, IS_WEB} from '#/env'
21212222export function LanguageSelectDialog({
2323 titleText,
···5252 return (
5353 <Dialog.Outer
5454 control={control}
5555- nativeOptions={{minHeight: height - insets.top}}>
5555+ nativeOptions={{
5656+ minHeight: IS_LIQUID_GLASS ? height : height - insets.top,
5757+ }}>
5658 <Dialog.Handle />
5759 <ErrorBoundary renderError={renderErrorBoundary}>
5860 <DialogInner
+8
src/env/index.ts
···5566export * from '#/env/common'
7788+// for some reason Platform.OS === 'ios' AND Platform.Version is undefined in our CI unit tests -sfn
99+const iOSMajorVersion =
1010+ Platform.OS === 'ios' && typeof Platform.Version === 'string'
1111+ ? parseInt(Platform.Version.split('.')[0], 10)
1212+ : 0
1313+814/**
915 * The semver version of the app, specified in our `package.json`.file. On
1016 * iOs/Android, the native build version is appended to the semver version, so
···4147 * Misc
4248 */
4349export 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
5151+export const IS_LIQUID_GLASS: boolean = iOSMajorVersion >= 26