ADD: Storage delete/not-delete for unencrypted storage.

This commit is contained in:
marcosrdz 2020-05-11 11:23:38 -04:00 committed by Overtorment
parent 4c1c2c173b
commit 5e5d7ee4f3

View File

@ -161,16 +161,14 @@ export default class EncryptStorage extends Component {
Component={TouchableWithoutFeedback}
switch={{ onValueChange: this.onEncryptStorageSwitch, value: this.state.storageIsEncrypted }}
/>
{Platform.OS === 'ios' && this.state.storageIsEncrypted && (
{Platform.OS === 'ios' && (
<BlueListItem
hideChevron
disabled={!this.state.storageIsEncrypted}
title="Delete if BlueWallet is uninstalled"
Component={TouchableWithoutFeedback}
switch={{
onValueChange: this.onDeleteWalletsAfterUninstallSwitch,
value: this.state.deleteWalletsAfterUninstall,
disabled: !this.state.storageIsEncrypted,
}}
/>
)}