iOS 26 (#9047)
Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@ import {useComposerState} from '#/state/shell/composer'
|
||||
import {ComposePost, useComposerCancelRef} from '#/view/com/composer/Composer'
|
||||
import {atoms as a, useTheme} from '#/alf'
|
||||
import {SheetCompatProvider as TooltipSheetCompatProvider} from '#/components/Tooltip'
|
||||
import {IS_LIQUID_GLASS} from '#/env'
|
||||
|
||||
export function Composer({}: {winHeight: number}) {
|
||||
const {setFullyExpandedCount} = useDialogStateControlContext()
|
||||
@@ -32,8 +33,10 @@ export function Composer({}: {winHeight: number}) {
|
||||
visible={open}
|
||||
presentationStyle="pageSheet"
|
||||
animationType="slide"
|
||||
onRequestClose={() => ref.current?.onPressCancel()}>
|
||||
<View style={[t.atoms.bg, a.flex_1]}>
|
||||
onRequestClose={() => ref.current?.onPressCancel()}
|
||||
backdropColor="transparent"
|
||||
style={[!IS_LIQUID_GLASS && a.rounded_sheet]}>
|
||||
<View style={[a.flex_1, a.curve_continuous, t.atoms.bg]}>
|
||||
<TooltipSheetCompatProvider>
|
||||
<ComposePost
|
||||
cancelRef={ref}
|
||||
@@ -45,7 +48,6 @@ export function Composer({}: {winHeight: number}) {
|
||||
text={state?.text}
|
||||
imageUris={state?.imageUris}
|
||||
videoUri={state?.videoUri}
|
||||
openGallery={state?.openGallery}
|
||||
/>
|
||||
</TooltipSheetCompatProvider>
|
||||
</View>
|
||||
|
||||
@@ -43,7 +43,7 @@ import {useAgeAssurance} from '#/ageAssurance'
|
||||
import {NoAccessScreen} from '#/ageAssurance/components/NoAccessScreen'
|
||||
import {RedirectOverlay} from '#/ageAssurance/components/RedirectOverlay'
|
||||
import {PassiveAnalytics} from '#/analytics/PassiveAnalytics'
|
||||
import {IS_ANDROID, IS_IOS} from '#/env'
|
||||
import {IS_ANDROID, IS_IOS, IS_LIQUID_GLASS} from '#/env'
|
||||
import {RoutesContainer, TabsNavigator} from '#/Navigation'
|
||||
import {BottomSheetOutlet} from '../../../modules/bottom-sheet'
|
||||
import {updateActiveViewAsync} from '../../../modules/expo-bluesky-swiss-army/src/VisibilityView'
|
||||
@@ -223,7 +223,8 @@ export function Shell() {
|
||||
<SystemBars
|
||||
style={{
|
||||
statusBar:
|
||||
t.name !== 'light' || (IS_IOS && fullyExpandedCount > 0)
|
||||
t.name !== 'light' ||
|
||||
(IS_IOS && !IS_LIQUID_GLASS && fullyExpandedCount > 0)
|
||||
? 'light'
|
||||
: 'dark',
|
||||
navigationBar: t.name !== 'light' ? 'light' : 'dark',
|
||||
|
||||
Reference in New Issue
Block a user