Browse Source

avoid bouncing on loading state

keystore
ncoelho 5 years ago
parent
commit
5b1c271328
  1. 4
      screen/receive/details.js

4
screen/receive/details.js

@ -94,7 +94,9 @@ export default class ReceiveDetails extends Component {
<View style={{ flex: 1, justifyContent: 'space-between' }}>
<View style={{ marginTop: 32, alignItems: 'center', paddingHorizontal: 16 }}>
{this.state.bip21encoded === undefined ? (
<BlueLoading />
<View style={{ alignItems: 'center', width: 300, height: 300 }}>
<BlueLoading />
</View>
) : (
<QRCode
value={this.state.bip21encoded}

Loading…
Cancel
Save