TF-1898 Fix there is no notification badge only on IOS
(cherry picked from commit c8c8a03267846df5c5d2032553988fd393fbc02d)
This commit is contained in:
+2
-1
@@ -1537,7 +1537,8 @@ class MailboxDashBoardController extends ReloadableController {
|
||||
_handleMessageFromNotification(response?.payload);
|
||||
}
|
||||
|
||||
void _handleMessageFromNotification(String? payload, {bool onForeground = true}) {
|
||||
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