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