diff --git a/apps/mobile/ios/Podfile.lock b/apps/mobile/ios/Podfile.lock index e5eee3083..063c4da46 100644 --- a/apps/mobile/ios/Podfile.lock +++ b/apps/mobile/ios/Podfile.lock @@ -235,8 +235,6 @@ PODS: - React-cxxreact (= 0.62.2) - React-jsi (= 0.62.2) - React-jsinspector (0.62.2) - - react-native-aes (1.3.6): - - React - react-native-get-random-values (1.3.1): - React - react-native-mmkv-storage (0.2.2): @@ -244,6 +242,8 @@ PODS: - React - react-native-orientation (3.1.3): - React + - react-native-safe-area-context (0.7.3): + - React - react-native-sodium (0.3.6): - React - react-native-webview (9.1.4): @@ -309,9 +309,9 @@ PODS: - ReactCommon/callinvoker (= 0.62.2) - rn-fetch-blob (0.11.2): - React-Core - - RNGestureHandler (1.5.0): + - RNGestureHandler (1.6.1): - React - - RNReanimated (1.4.0): + - RNReanimated (1.8.0): - React - RNScreens (1.0.0-alpha.23): - React @@ -360,10 +360,10 @@ DEPENDENCIES: - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) - - react-native-aes (from `../node_modules/react-native-aes-crypto`) - react-native-get-random-values (from `../node_modules/react-native-get-random-values`) - react-native-mmkv-storage (from `../node_modules/react-native-mmkv-storage`) - react-native-orientation (from `../node_modules/react-native-orientation`) + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - react-native-sodium (from `../node_modules/react-native-sodium`) - react-native-webview (from `../node_modules/react-native-webview`) - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) @@ -431,14 +431,14 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/jsiexecutor" React-jsinspector: :path: "../node_modules/react-native/ReactCommon/jsinspector" - react-native-aes: - :path: "../node_modules/react-native-aes-crypto" react-native-get-random-values: :path: "../node_modules/react-native-get-random-values" react-native-mmkv-storage: :path: "../node_modules/react-native-mmkv-storage" react-native-orientation: :path: "../node_modules/react-native-orientation" + react-native-safe-area-context: + :path: "../node_modules/react-native-safe-area-context" react-native-sodium: :path: "../node_modules/react-native-sodium" react-native-webview: @@ -506,10 +506,10 @@ SPEC CHECKSUMS: React-jsi: b6dc94a6a12ff98e8877287a0b7620d365201161 React-jsiexecutor: 1540d1c01bb493ae3124ed83351b1b6a155db7da React-jsinspector: 512e560d0e985d0e8c479a54a4e5c147a9c83493 - react-native-aes: 22ea989d641f53ea7722fe6b146349ed66e6455d react-native-get-random-values: 148a42f97f2ce180a52d219144e83c278d4fe24b react-native-mmkv-storage: 4f85ac485ff25ad5b9f7b3c6cd4c8bb067b1028c react-native-orientation: f1caf84d65f1a4fd4511a18f2b924e634ad7a628 + react-native-safe-area-context: e200d4433aba6b7e60b52da5f37af11f7a0b0392 react-native-sodium: c7587732667e1cdb7d0d77c2aa2e98420aad2036 react-native-webview: 8315502f9fd22b98c09c9832fd1181ef88c33667 React-RCTActionSheet: f41ea8a811aac770e0cc6e0ad6b270c644ea8b7c @@ -523,8 +523,8 @@ SPEC CHECKSUMS: React-RCTVibration: 4356114dbcba4ce66991096e51a66e61eda51256 ReactCommon: ed4e11d27609d571e7eee8b65548efc191116eb3 rn-fetch-blob: f525a73a78df9ed5d35e67ea65e79d53c15255bc - RNGestureHandler: a4ddde1ffc6e590c8127b8b7eabfdade45475c74 - RNReanimated: b2ab0b693dddd2339bd2f300e770f6302d2e960c + RNGestureHandler: 8f09cd560f8d533eb36da5a6c5a843af9f056b38 + RNReanimated: 955cf4068714003d2f1a6e2bae3fb1118f359aff RNScreens: f28b48b8345f2f5f39ed6195518291515032a788 RNShare: 0e19ddb0bf338b62702ce1d9e001ee14effa68a8 RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4 diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js index 35f204a9d..bed3bfd13 100644 --- a/apps/mobile/src/components/ActionSheetComponent/index.js +++ b/apps/mobile/src/components/ActionSheetComponent/index.js @@ -351,10 +351,11 @@ export const ActionSheetComponent = ({ .catch(async e => { switch (e.message) { case db.vault.ERRORS.noVault: + console.log('novault', e); close('novault'); break; case db.vault.ERRORS.vaultLocked: - close('valutlocked'); + close('locked'); break; case db.vault.ERRORS.wrongPassword: close(); diff --git a/apps/mobile/src/components/DialogManager/index.js b/apps/mobile/src/components/DialogManager/index.js index 07e197c13..8ad182a9b 100644 --- a/apps/mobile/src/components/DialogManager/index.js +++ b/apps/mobile/src/components/DialogManager/index.js @@ -212,13 +212,15 @@ export class DialogManager extends Component { } case 'novault': { openVault(this.state.item, false); + break; } - case 'vaultlocked': { + case 'locked': { openVault(this.state.item, true, true); break; } case 'unlock': { openVault(this.state.item, true, true, true, false, false); + break; } case 'notebook': { this.showAddNotebook({item: this.state.item});