mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
FIX: Restore Change unit on balance tap
This commit is contained in:
parent
6275853591
commit
8c883e8388
1 changed files with 3 additions and 1 deletions
|
@ -645,7 +645,9 @@ export default class WalletTransactions extends Component {
|
|||
wallet={this.state.wallet}
|
||||
onWalletUnitChange={wallet =>
|
||||
InteractionManager.runAfterInteractions(async () => {
|
||||
this.setState({ wallet }, () => InteractionManager.runAfterInteractions(() => BlueApp.saveToDisk()));
|
||||
this.setState({ wallet, itemPriceUnit: wallet.getPreferredBalanceUnit() }, () =>
|
||||
InteractionManager.runAfterInteractions(() => BlueApp.saveToDisk()),
|
||||
);
|
||||
})
|
||||
}
|
||||
onManageFundsPressed={() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue