diff --git a/lib/reactions/on_authentication_state_change.dart b/lib/reactions/on_authentication_state_change.dart index 8dae17776..a5e7ed1be 100644 --- a/lib/reactions/on_authentication_state_change.dart +++ b/lib/reactions/on_authentication_state_change.dart @@ -54,7 +54,4 @@ Future<void> _navigateBasedOnWalletType( await navigatorKey.currentState!.pushNamedAndRemoveUntil(Routes.dashboard, (route) => false); return; } - - // await navigatorKey.currentState!.pushNamedAndRemoveUntil(Routes.dashboard, (route) => false); - // return; } diff --git a/lib/src/screens/wallet_list/wallet_list_page.dart b/lib/src/screens/wallet_list/wallet_list_page.dart index 7f598fbbf..a93664cc4 100644 --- a/lib/src/screens/wallet_list/wallet_list_page.dart +++ b/lib/src/screens/wallet_list/wallet_list_page.dart @@ -255,10 +255,10 @@ class WalletListBodyState extends State<WalletListBody> { return; } - // if (walletListItem.type == WalletType.haven) { - // _onHavenWalletSelected(walletListItem); - // return; - // } + if (walletListItem.type == WalletType.haven) { + _onHavenWalletSelected(walletListItem); + return; + } try { changeProcessText(S.of(context).wallet_list_loading_wallet(walletListItem.name));