Fix the status bar coloring
parent
a90fd5d26f
commit
8f59957fab
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue