mmazzarolo / react-native-dialog

Pure JavaScript React-Native dialog
MIT License
681 stars 111 forks source link

Support statusBarTranslucent #137

Closed jzxchiang1 closed 2 years ago

jzxchiang1 commented 2 years ago

Just need to add statusBarTranslucent as a configurable prop here:

https://github.com/mmazzarolo/react-native-dialog/blob/dd6d979279b22ad869d95ba530a1e9cd1fc1601b/src/Modal.tsx#L191

Otherwise, Android apps will look a little strange if their status bar is indeed translucent...

Nantris commented 2 years ago

@jzxchiang1 try passing transparent={false} to Dialog.Container. Unless I'm reading the code wrong, that should get applied like you want. If this does resolve your issue, please be sure to close it!

Nantris commented 2 years ago

It works for us. I believe this can be closed.

mmazzarolo commented 2 years ago

Yup. Thanks @Slapbox !