fix(mobile): enable workspaces (#1139)

This commit is contained in:
Mo
2022-06-22 11:52:32 -05:00
committed by GitHub
parent 480d17f2b6
commit 4db63e3a63
4 changed files with 3 additions and 14 deletions

View File

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

View File

@@ -1,7 +1,3 @@
import { IsDev } from '@Lib/Utils'
export enum ErrorMessage {
GeneralText = 'An error occurred. Please try again later.',
}
export const WorkspacesEnabled = IsDev