Skip to content

Commit

Permalink
TF-2431 Handle add other account after logout current account success
Browse files Browse the repository at this point in the history
Signed-off-by: dab246 <[email protected]>
  • Loading branch information
dab246 committed Jan 15, 2024
1 parent 7e1500c commit 404d910
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/features/home/presentation/home_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ class HomeController extends ReloadableController {

authenticatedAccountManager.showAccountsBottomSheetModal(
context: currentContext!,
onSelectActiveAccountAction: _handleSelectActiveAccount
onSelectActiveAccountAction: _handleSelectActiveAccount,
onAddAnotherAccountAction: (_) => _handleAddOtherAccount()
);
}

Expand Down Expand Up @@ -315,4 +316,8 @@ class HomeController extends ReloadableController {

_showListAccountPicker();
}

void _handleAddOtherAccount() {
navigateToTwakeIdPage();
}
}

0 comments on commit 404d910

Please sign in to comment.