Browse Source

FIX: Remove unused variables

walletselecttest
Marcos Rodriguez 5 years ago
parent
commit
d3004e9272
  1. 2
      class/onAppLaunch.js
  2. 2
      screen/wallets/selectWallet.js

2
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;

2
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,

Loading…
Cancel
Save