()
| 92 | ); |
| 93 | |
| 94 | const handleDecryptStorage = async () => { |
| 95 | dispatch({ type: ActionType.SetModalType, payload: MODAL_TYPES.ENTER_PASSWORD }); |
| 96 | navigation.navigate('PromptPasswordConfirmationSheet', { |
| 97 | modalType: MODAL_TYPES.ENTER_PASSWORD, |
| 98 | returnTo: 'EncryptStorage', |
| 99 | }); |
| 100 | }; |
| 101 | |
| 102 | const onEncryptStorageSwitch = async (value: boolean) => { |
| 103 | dispatch({ type: ActionType.SetCurrentLoadingSwitch, payload: 'encrypt' }); |
nothing calls this directly
no test coverage detected