mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-21 14:34:55 +01:00
RTST
This commit is contained in:
parent
9925631c1d
commit
7c120d2b20
2 changed files with 9 additions and 5 deletions
|
@ -166,7 +166,8 @@ export default class WalletDetails extends Component {
|
|||
}}
|
||||
onBlur={() => {
|
||||
if (this.state.walletName.trim().length === 0) {
|
||||
this.setState({ walletName: this.state.wallet.getLabel() });
|
||||
const walletLabel = this.state.wallet.getLabel();
|
||||
this.setState({ walletName: walletLabel });
|
||||
}
|
||||
}}
|
||||
numberOfLines={1}
|
||||
|
|
|
@ -601,10 +601,13 @@ export default class WalletTransactions extends Component {
|
|||
[
|
||||
{
|
||||
text: loc._.ok,
|
||||
onPress: async () => {
|
||||
this.state.wallet.use_with_hardware_wallet = true;
|
||||
await BlueApp.saveToDisk();
|
||||
this.navigateToSendScreen();
|
||||
onPress: () => {
|
||||
const wallet = this.state.wallet;
|
||||
wallet.use_with_hardware_wallet = true
|
||||
this.setState({ wallet }, async () => {
|
||||
await BlueApp.saveToDisk();
|
||||
this.navigateToSendScreen();
|
||||
})
|
||||
},
|
||||
style: 'default',
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue