Skip to content

Commit

Permalink
Update StatusBar examples (#64)
Browse files Browse the repository at this point in the history
the current version of react native does not expose any methods on `StatusBarIOS`
  • Loading branch information
koenpunt authored Sep 30, 2017
1 parent 9b7cf6c commit 00cd998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ __Example__
let showSubscription = SafariView.addEventListener(
"onShow",
() => {
StatusBarIOS.setStyle("light-content");
StatusBar.setBarStyle("light-content");
}
);
```
Expand All @@ -153,7 +153,7 @@ __Example__
let dismissSubscription = SafariView.addEventListener(
"onDismiss",
() => {
StatusBarIOS.setStyle("default");
StatusBar.setBarStyle("default");
}
);
```
Expand Down

0 comments on commit 00cd998

Please sign in to comment.