From 1e7c171398dccc5256b34e8ead7d65b016190506 Mon Sep 17 00:00:00 2001 From: sergdeus Date: Wed, 13 Mar 2024 13:54:59 +0100 Subject: [PATCH] release --- lib/core/services/notifications/notifications_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/services/notifications/notifications_service.dart b/lib/core/services/notifications/notifications_service.dart index ec6b020c..921441b5 100644 --- a/lib/core/services/notifications/notifications_service.dart +++ b/lib/core/services/notifications/notifications_service.dart @@ -239,7 +239,7 @@ class NotificationsService with ForegroundMessagesMixin { {'pushTokenUpdateEvent:': '${GetIt.I().loggedIn} '}.toString(), ); } - if (oldToken != newToken && GetIt.I().accessToken?.isNotEmpty == true) { + if (oldToken != newToken && GetIt.I().loggedIn) { late String deviceName; var deviceData = {}; try {