Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required hidden property on statusBar option #100

Open
adamterlson opened this issue Nov 1, 2015 · 1 comment
Open

Required hidden property on statusBar option #100

adamterlson opened this issue Nov 1, 2015 · 1 comment

Comments

@adamterlson
Copy link

It works fine to not pass the statusBar property in, but if it's given, it must specify hidden to be false. This seems like a value to sensibly default and it should not have to be specified.

Without it:

        <NavigationBar
          statusBar={{style: 'light-content'}} />

You get Argument 0 (BOOL) of RCTStatusBarManager.setHidden must not be null.

To work around, provide the hidden property: {style: 'light-content', hidden: false}.

@luco
Copy link

luco commented Jun 25, 2017

+1 on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants