Skip to content

Commit

Permalink
Dismiss all modals before app start to ensure this use case does not …
Browse files Browse the repository at this point in the history
…break (#6152)

This commit adds a call to dismissAllModals before setRoot to ensure this use case doesn't break in the future.
  • Loading branch information
guyca authored Apr 23, 2020
1 parent 89402dc commit 81d01a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playground/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function start() {
registerScreens();
Navigation.events().registerAppLaunchedListener(async () => {
setDefaultOptions();
Navigation.dismissAllModals();
setRoot();
});
}
Expand Down

0 comments on commit 81d01a0

Please sign in to comment.