mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
FIX: Header would flash on dark mode transitions
This commit is contained in:
parent
deaf5d710a
commit
af3fe6f5c5
@ -89,7 +89,6 @@ const defaultScreenOptions =
|
||||
? ({ route, navigation }) => ({
|
||||
gestureEnabled: true,
|
||||
cardOverlayEnabled: true,
|
||||
cardStyle: { backgroundColor: '#FFFFFF' },
|
||||
headerStatusBarHeight: navigation.dangerouslyGetState().routes.indexOf(route) > 0 ? 10 : undefined,
|
||||
...TransitionPresets.ModalPresentationIOS,
|
||||
gestureResponseDistance: { vertical: Dimensions.get('window').height, horizontal: 50 },
|
||||
@ -104,7 +103,6 @@ const defaultStackScreenOptions =
|
||||
? {
|
||||
gestureEnabled: true,
|
||||
cardOverlayEnabled: true,
|
||||
cardStyle: { backgroundColor: '#FFFFFF' },
|
||||
headerStatusBarHeight: 10,
|
||||
}
|
||||
: {
|
||||
|
Loading…
Reference in New Issue
Block a user