fix: consider header colors when managing statusbar

This commit is contained in:
Satyajit Sahoo
2021-03-13 17:38:46 +01:00
parent faee245d2e
commit 3ad2bcbaf8

View File

@@ -531,6 +531,7 @@ export default class Card extends React.Component<Props> {
// StatusBar messes with translucent status bar on Android
// So we should only enable it on iOS
Platform.OS === 'ios' &&
overlayEnabled &&
index === 0 &&
next &&
styleInterpolator === forModalPresentationIOS ? (