Reset app state without closing/restarting it
This commit is contained in:
@@ -83,7 +83,7 @@ export default class AppWrapper extends Component {
|
||||
} else if (shouldShowPasswordPrompt) {
|
||||
initialView = <PasswordPrompt enableShowApp={this.enableShowApp} />
|
||||
} else if (shouldShowApp) {
|
||||
initialView = <App />
|
||||
initialView = <App restartApp={() => this.checkDbPasswordSet()} />
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user