mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
Allow Wallet Group Names to be the same as Wallet Names (#1730)
* fix: Issues with imaging * fix: Allow group names to be the same as wallet names * fix: Bug with wallet grouping when a wallet is minimized * fix: Bug with wallet grouping when a wallet is minimized
This commit is contained in:
parent
37b822b7f5
commit
62f55ae8f5
2 changed files with 8 additions and 4 deletions
|
@ -378,7 +378,11 @@ Future<void> setup({
|
|||
getIt.registerFactory<NewWalletTypeViewModel>(() => NewWalletTypeViewModel(_walletInfoSource));
|
||||
|
||||
getIt.registerFactory<WalletManager>(
|
||||
() => WalletManager(_walletInfoSource, getIt.get<SharedPreferences>()),
|
||||
() {
|
||||
final instance = WalletManager(_walletInfoSource, getIt.get<SharedPreferences>());
|
||||
instance.updateWalletGroups();
|
||||
return instance;
|
||||
},
|
||||
);
|
||||
|
||||
getIt.registerFactoryParam<WalletGroupsDisplayViewModel, WalletType, void>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue