From 404d910eae9ece5d21c867e354496c2cd4754764 Mon Sep 17 00:00:00 2001 From: dab246 Date: Tue, 9 Jan 2024 19:46:45 +0700 Subject: [PATCH] TF-2431 Handle add other account after logout current account success Signed-off-by: dab246 --- lib/features/home/presentation/home_controller.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/features/home/presentation/home_controller.dart b/lib/features/home/presentation/home_controller.dart index e594bdf7b9..222783efc1 100644 --- a/lib/features/home/presentation/home_controller.dart +++ b/lib/features/home/presentation/home_controller.dart @@ -259,7 +259,8 @@ class HomeController extends ReloadableController { authenticatedAccountManager.showAccountsBottomSheetModal( context: currentContext!, - onSelectActiveAccountAction: _handleSelectActiveAccount + onSelectActiveAccountAction: _handleSelectActiveAccount, + onAddAnotherAccountAction: (_) => _handleAddOtherAccount() ); } @@ -315,4 +316,8 @@ class HomeController extends ReloadableController { _showListAccountPicker(); } + + void _handleAddOtherAccount() { + navigateToTwakeIdPage(); + } } \ No newline at end of file