mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-12 09:32:33 +00:00
fix
This commit is contained in:
parent
7175973bdd
commit
9ab4ece4ee
1 changed files with 12 additions and 12 deletions
|
@ -51,18 +51,18 @@ abstract class WalletListViewModelBase with Store {
|
|||
@action
|
||||
void updateList() {
|
||||
wallets.clear();
|
||||
// wallets.addAll(
|
||||
// _walletInfoSource.values.map(
|
||||
// (info) => WalletListItem(
|
||||
// name: info.name,
|
||||
// type: info.type,
|
||||
// key: info.key,
|
||||
// isCurrent: info.name == _appStore.wallet?.name &&
|
||||
// info.type == _appStore.wallet?.type,
|
||||
// isEnabled: availableWalletTypes.contains(info.type),
|
||||
// ),
|
||||
// ),
|
||||
// );
|
||||
wallets.addAll(
|
||||
_walletInfoSource.values.map(
|
||||
(info) => WalletListItem(
|
||||
name: info.name,
|
||||
type: info.type,
|
||||
key: info.key,
|
||||
isCurrent: info.name == _appStore.wallet?.name &&
|
||||
info.type == _appStore.wallet?.type,
|
||||
isEnabled: availableWalletTypes.contains(info.type),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
bool checkIfAuthRequired() {
|
||||
|
|
Loading…
Reference in a new issue