feat: add preference on android to not confirm when exiting (#1870)
This commit is contained in:
@@ -567,7 +567,12 @@ export class MobileDevice implements MobileDeviceInterface {
|
||||
return true
|
||||
}
|
||||
|
||||
confirmAndExit() {
|
||||
exitApp(shouldConfirm?: boolean) {
|
||||
if (!shouldConfirm) {
|
||||
SNReactNative.exitApp()
|
||||
return
|
||||
}
|
||||
|
||||
Alert.alert(
|
||||
'Close app',
|
||||
'Do you want to close the app?',
|
||||
|
||||
Reference in New Issue
Block a user