Skip to content

Commit b69e6c4

Browse files
authored
Merge pull request #322 from rrebase/patch-1
Fix StatusBar prop name in README example
2 parents 2616af1 + 6a75956 commit b69e6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ Starting with React Native 0.59 onwards, there is a simpler way of handling this
390390
```javascript
391391
async openInBrowser(url) {
392392
try {
393-
const oldStyle = StatusBar.pushStackEntry({ barStyle: 'dark-content', animate: false });
393+
const oldStyle = StatusBar.pushStackEntry({ barStyle: 'dark-content', animated: false });
394394
await InAppBrowser.open(url)
395395
StatusBar.popStackEntry(oldStyle);
396396
} catch (error) {

0 commit comments

Comments
 (0)