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

Added fastlane and other updates

This commit is contained in:
Zhiyuan Zheng
2021-01-31 03:09:35 +01:00
parent 253ddee319
commit 1072d88191
43 changed files with 755 additions and 185 deletions

View File

@ -229,7 +229,7 @@ const ScreenCompose: React.FC<ScreenComposeProp> = ({
return (
<KeyboardAvoidingView
style={styles.base}
style={[styles.base, {backgroundColor: 'red'}]}
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
>
<SafeAreaView
@ -237,14 +237,17 @@ const ScreenCompose: React.FC<ScreenComposeProp> = ({
edges={hasKeyboard ? ['top'] : ['top', 'bottom']}
>
<ComposeContext.Provider value={{ composeState, composeDispatch }}>
<Stack.Navigator screenOptions={{ headerTopInsetEnabled: false }}>
<Stack.Navigator
screenOptions={{ headerTopInsetEnabled: false }}
initialRouteName='Screen-Compose-Root'
>
<Stack.Screen
name='Tab-Compose-Root'
name='Screen-Compose-Root'
component={ComposeRoot}
options={{ headerLeft, headerCenter, headerRight }}
/>
<Stack.Screen
name='Tab-Compose-EditAttachment'
name='Screen-Compose-EditAttachment'
component={ComposeEditAttachment}
options={{ stackPresentation: 'modal', headerShown: false }}
/>