1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix modals

This commit is contained in:
Zhiyuan Zheng
2021-05-12 22:45:51 +02:00
parent 8e0d499ed8
commit 87343989cf
14 changed files with 361 additions and 442 deletions

View File

@ -397,12 +397,18 @@ const ScreenCompose: React.FC<ScreenComposeProp> = ({
<Stack.Screen
name='Screen-Compose-DraftsList'
component={ComposeDraftsList}
options={{ stackPresentation: 'modal', headerShown: false }}
options={{
stackPresentation: 'modal',
...(Platform.OS === 'android' && { headerShown: false })
}}
/>
<Stack.Screen
name='Screen-Compose-EditAttachment'
component={ComposeEditAttachment}
options={{ stackPresentation: 'modal', headerShown: false }}
options={{
stackPresentation: 'modal',
...(Platform.OS === 'android' && { headerShown: false })
}}
/>
</Stack.Navigator>
</ComposeContext.Provider>