mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
fix: selectedReceiveOption reaction for monero only (#2174)
This commit is contained in:
@@ -185,7 +185,7 @@ class AddressPage extends BasePage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
reaction((_) => receiveOptionViewModel.selectedReceiveOption, (ReceivePageOption option) {
|
reaction((_) => receiveOptionViewModel.selectedReceiveOption, (ReceivePageOption option) {
|
||||||
if (bitcoin!.isBitcoinReceivePageOption(option)) {
|
if (dashboardViewModel.type == WalletType.bitcoin && bitcoin!.isBitcoinReceivePageOption(option)) {
|
||||||
addressListViewModel.setAddressType(bitcoin!.getOptionToType(option));
|
addressListViewModel.setAddressType(bitcoin!.getOptionToType(option));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user