TF-2384 Store data to keychain when save new Account
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 4d84a3354927d1c0becaf0e8e6d7cc8c54721f58)
This commit is contained in:
+2
-3
@@ -480,9 +480,9 @@ class MailboxDashBoardController extends ReloadableController {
|
||||
}
|
||||
|
||||
@override
|
||||
void injectFCMBindings(Session? session, AccountId? accountId) async {
|
||||
Future<void> injectFCMBindings(Session? session, AccountId? accountId) async {
|
||||
try {
|
||||
super.injectFCMBindings(session, accountId);
|
||||
await super.injectFCMBindings(session, accountId);
|
||||
await LocalNotificationManager.instance.recreateStreamController();
|
||||
_registerLocalNotificationStreamListener();
|
||||
} catch (e) {
|
||||
@@ -1674,7 +1674,6 @@ class MailboxDashBoardController extends ReloadableController {
|
||||
}
|
||||
|
||||
void _handleMessageFromNotification(String? payload, {bool onForeground = true}) async {
|
||||
await LocalNotificationManager.instance.removeNotificationBadgeForIOS();
|
||||
log('MailboxDashBoardController::_handleMessageFromNotification():payload: $payload');
|
||||
if (payload == null || payload.isEmpty) {
|
||||
dispatchRoute(DashboardRoutes.thread);
|
||||
|
||||
Reference in New Issue
Block a user