FIX: Fixed infinite loading

This commit is contained in:
Marcos Rodriguez Vélez 2018-12-29 14:09:12 -05:00
parent ca203785e6
commit eaddee91a6

View file

@ -78,7 +78,7 @@ export default class SendDetails extends Component {
fromAddress,
fromWallet,
fromSecret,
isLoading: true,
isLoading: false,
address,
memo,
fee: 1,
@ -131,7 +131,7 @@ export default class SendDetails extends Component {
fee: response.halfHourFee,
networkTransactionFees: response,
feeSliderValue: response.halfHourFee,
isLoading: typeof this.state.fromWallet === 'object',
isLoading: typeof this.state.fromWallet !== 'object',
});
});
if (recommendedFees) {
@ -139,7 +139,7 @@ export default class SendDetails extends Component {
fee: recommendedFees.halfHourFee,
networkTransactionFees: recommendedFees,
feeSliderValue: recommendedFees.halfHourFee,
isLoading: typeof this.state.fromWallet === 'object',
isLoading: typeof this.state.fromWallet !== 'object',
});
if (this.props.navigation.state.params.uri) {