Layout fixes
This commit is contained in:
+1
-5
@@ -394,7 +394,7 @@ const FlatNavigator = () => {
|
|||||||
fullScreenGestureEnabled: true,
|
fullScreenGestureEnabled: true,
|
||||||
headerShown: false,
|
headerShown: false,
|
||||||
animationDuration: 250,
|
animationDuration: 250,
|
||||||
contentStyle: [pal.view, styles.webContainer],
|
contentStyle: [pal.view],
|
||||||
}}>
|
}}>
|
||||||
<Flat.Screen
|
<Flat.Screen
|
||||||
name="Home"
|
name="Home"
|
||||||
@@ -592,10 +592,6 @@ function handleLink(url: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
webContainer: {
|
|
||||||
// @ts-ignore web-only
|
|
||||||
flex: '',
|
|
||||||
},
|
|
||||||
bgDark: {
|
bgDark: {
|
||||||
backgroundColor: colors.black,
|
backgroundColor: colors.black,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -33,12 +33,12 @@ function ShellInner() {
|
|||||||
}, [navigator, closeAllActiveElements])
|
}, [navigator, closeAllActiveElements])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={s.hContentRegion}>
|
<>
|
||||||
<View style={s.hContentRegion}>
|
<>
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<FlatNavigator />
|
<FlatNavigator />
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
</View>
|
</>
|
||||||
<Composer winHeight={0} />
|
<Composer winHeight={0} />
|
||||||
<ModalsContainer />
|
<ModalsContainer />
|
||||||
<Lightbox />
|
<Lightbox />
|
||||||
@@ -53,7 +53,7 @@ function ShellInner() {
|
|||||||
</View>
|
</View>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
)}
|
)}
|
||||||
</View>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user