mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 15:36:59 +01:00
Merge pull request #660 from BlueWallet/singleaddress
FIX: Display single address
This commit is contained in:
commit
63f5e8cb89
1 changed files with 6 additions and 0 deletions
|
@ -70,6 +70,12 @@ export default class ReceiveDetails extends Component {
|
||||||
address: address,
|
address: address,
|
||||||
addressText: address,
|
addressText: address,
|
||||||
});
|
});
|
||||||
|
} else if (wallet.getAddress) {
|
||||||
|
address = wallet.getAddress();
|
||||||
|
this.setState({
|
||||||
|
address: address,
|
||||||
|
addressText: address,
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
alert('There was a problem obtaining your receive address. Please, try again.');
|
alert('There was a problem obtaining your receive address. Please, try again.');
|
||||||
this.props.navigation.goBack();
|
this.props.navigation.goBack();
|
||||||
|
|
Loading…
Add table
Reference in a new issue