mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
small fix
This commit is contained in:
parent
af01cb3243
commit
2fa7365218
1 changed files with 2 additions and 2 deletions
|
@ -366,8 +366,8 @@ Future setup(
|
||||||
addressListViewModel: getIt.get<WalletAddressListViewModel>(),
|
addressListViewModel: getIt.get<WalletAddressListViewModel>(),
|
||||||
walletViewModel: getIt.get<DashboardViewModel>()));
|
walletViewModel: getIt.get<DashboardViewModel>()));
|
||||||
|
|
||||||
getIt.registerFactoryParam<WalletAddressEditOrCreateViewModel, WalletAddressListItem, void>(
|
getIt.registerFactoryParam<WalletAddressEditOrCreateViewModel, WalletAddressListItem?, void>(
|
||||||
(WalletAddressListItem item, _) => WalletAddressEditOrCreateViewModel(
|
(WalletAddressListItem? item, _) => WalletAddressEditOrCreateViewModel(
|
||||||
wallet: getIt.get<AppStore>().wallet!, item: item));
|
wallet: getIt.get<AppStore>().wallet!, item: item));
|
||||||
|
|
||||||
getIt.registerFactoryParam<AddressEditOrCreatePage, dynamic, void>(
|
getIt.registerFactoryParam<AddressEditOrCreatePage, dynamic, void>(
|
||||||
|
|
Loading…
Reference in a new issue