Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 62473bc

Browse files
committed
Disable change of status bar update in dropdown
1 parent e882fd0 commit 62473bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/component/background.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ const wrapperStyles = StyleSheet.create({
8989

9090
export const ContentWrapper = ({ children, style }) => (
9191
<SafeAreaView style={wrapperStyles.safe}>
92+
<StatusBar barStyle="light-content" />
9293
<KeyboardAvoidingView
9394
style={[wrapperStyles.avoid, style]}
9495
behavior="padding"

src/component/notification-wrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ const styles = StyleSheet.create({
4141

4242
const NotificationWrapper = ({ store, notify, children }) => (
4343
<View style={styles.wrapper}>
44-
<StatusBar barStyle="light-content" />
4544
{children}
4645
<DropdownAlert
4746
ref={ref => notify.setDropdown(ref)}
@@ -57,6 +56,7 @@ const NotificationWrapper = ({ store, notify, children }) => (
5756
renderCancel={() => <SmallSpinner style={styles.spinner} />}
5857
closeInterval={NOTIFICATION_DELAY}
5958
replaceEnabled={false}
59+
updateStatusBar={false}
6060
/>
6161
{(store.lastNotification || {}).waiting ? <KeepAwake /> : null}
6262
</View>

0 commit comments

Comments
 (0)