Fix the status bar coloring

zio/stable
Paul Frazee 2022-12-30 15:56:54 -06:00
parent a90fd5d26f
commit 8f59957fab
1 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import {
FlatList,
GestureResponderEvent,
SafeAreaView,
StatusBar,
StyleSheet,
TouchableOpacity,
TouchableWithoutFeedback,
@ -349,7 +350,12 @@ export const MobileShell: React.FC = observer(() => {
backgroundColor: theme.colorScheme === 'dark' ? colors.gray7 : colors.gray1,
}
return (
<View style={styles.outerContainer}>
<View style={[styles.outerContainer, pal.view]}>
<StatusBar
barStyle={
theme.colorScheme === 'dark' ? 'light-content' : 'dark-content'
}
/>
<View style={[styles.innerContainer, {paddingTop: safeAreaInsets.top}]}>
<HorzSwipe
distThresholdDivisor={1.5}