From d3004e927257ed8b4f251c0f38c5c1e2f8936cc6 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Date: Wed, 2 Oct 2019 23:10:22 -0400 Subject: [PATCH] FIX: Remove unused variables --- class/onAppLaunch.js | 2 +- screen/wallets/selectWallet.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/class/onAppLaunch.js b/class/onAppLaunch.js index 6311697b..21a2c165 100644 --- a/class/onAppLaunch.js +++ b/class/onAppLaunch.js @@ -6,7 +6,7 @@ export default class OnAppLaunch { static EnabledKey = 'OnAppLaunchEnabledKey'; static async isViewAllWalletsEnabled() { - let isEnabled = '1'; + let isEnabled; try { const enabled = await AsyncStorage.getItem(OnAppLaunch.EnabledKey); isEnabled = enabled; diff --git a/screen/wallets/selectWallet.js b/screen/wallets/selectWallet.js index 6862fbef..ae196524 100644 --- a/screen/wallets/selectWallet.js +++ b/screen/wallets/selectWallet.js @@ -6,7 +6,6 @@ import PropTypes from 'prop-types'; import { LightningCustodianWallet } from '../../class/lightning-custodian-wallet'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; import WalletGradient from '../../class/walletGradient'; -import { Chain } from '../../models/bitcoinUnits'; /** @type {AppStorage} */ let BlueApp = require('../../BlueApp'); let loc = require('../../loc'); @@ -164,7 +163,6 @@ export default class SelectWallet extends Component { } SelectWallet.propTypes = { - chainType: PropTypes.string, navigation: PropTypes.shape({ navigate: PropTypes.func, setParams: PropTypes.func,