mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Wownero: dispatch getCurrentAccount by wallet.type in AccountCustomizer
The "Wallet Accounts" reorder modal threw on open for Wownero wallets: account_customizer.dart unconditionally called monero!.getCurrentAccount, which casts the wallet to MoneroWallet internally. WowneroWallet is a sibling type, not a subtype, so the cast blew up before the active-card swap logic ran. Dispatch on wallet.type and use the wownero! proxy for Wownero, matching the pattern already in card_customizer_bloc.dart, addresses_page.dart, and dashboard_view_model.dart. Skip the swap entirely for any other wallet type rather than guessing. Bump 1.0.0+5 -> 1.0.0+6.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name: hash_wallet
|
||||
description: Hash Bags — a noncustodial multi-currency wallet by Such Software LLC.
|
||||
version: 1.0.0+5
|
||||
version: 1.0.0+6
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user