TF-750 Inject AutoCompleteBindings when get session success

This commit is contained in:
dab246
2022-07-25 11:52:15 +07:00
committed by Dat H. Pham
parent 89a5683310
commit 6e4b1f71f8
3 changed files with 9 additions and 0 deletions
@@ -257,6 +257,7 @@ class MailboxDashBoardController extends ReloadableController {
if (arguments is Session) {
sessionCurrent = arguments;
accountId.value = sessionCurrent?.accounts.keys.first;
injectAutoCompleteBindings();
} else {
if (kIsWeb) {
reload();
@@ -427,6 +428,7 @@ class MailboxDashBoardController extends ReloadableController {
accountId.value = sessionCurrent?.accounts.keys.first;
_getUserProfile();
_handleComposerCache();
injectAutoCompleteBindings();
}
UnsignedInt? get maxSizeAttachmentsPerEmail {