fix: mobile workspace related fixes (#1130)

* feat: put workspaces under unfinished features flag

* fix: mention that signing out will quit the app

* fix: put more affected places under features flag
This commit is contained in:
Vardan Hakobyan
2022-06-22 00:06:08 +04:00
committed by GitHub
parent cb209b8dfd
commit 3b4797c243
7 changed files with 42 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
import { IsDev } from '@Lib/Utils'
import AsyncStorage from '@react-native-community/async-storage'
import SNReactNative from '@standardnotes/react-native-utils'
import {
@@ -315,7 +316,9 @@ export class MobileDeviceInterface implements DeviceInterface {
}
performSoftReset() {
SNReactNative.exitApp()
if (IsDev) {
SNReactNative.exitApp()
}
}
// eslint-disable-next-line @typescript-eslint/no-empty-function