You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened to StatusBarIOS? This used to work on 0.4.x and then I upgraded to 0.5 and it continued working. I then upgraded to 0.6.0-rc and I get undefined is not an object (evaulating 'StatusBarIOS.Style.lightContent').
Inspecting StatusBarIOS I see there is still setStyle and setHidden but that's it.
Alright, going through the docs I see that the API has changed (which is a breaking change). Now we have to put an actual string in so: StatusBarIOS.setStyle(StatusBarIOS.Style.lightContent, false);
to StatusBarIOS.setStyle('light-content', false);
The text was updated successfully, but these errors were encountered:
I believe this was an intentional change in 45d8fb0. @nicklockwood could you confirm that the enum was dropped in favor of "default" and "light-content"?
cc @vjeux for the breaking change for the release notes.
What happened to StatusBarIOS? This used to work on 0.4.x and then I upgraded to 0.5 and it continued working. I then upgraded to 0.6.0-rc and I get
undefined is not an object (evaulating 'StatusBarIOS.Style.lightContent')
.Inspecting StatusBarIOS I see there is still setStyle and setHidden but that's it.
Alright, going through the docs I see that the API has changed (which is a breaking change). Now we have to put an actual string in so:
StatusBarIOS.setStyle(StatusBarIOS.Style.lightContent, false);
to
StatusBarIOS.setStyle('light-content', false);
The text was updated successfully, but these errors were encountered: