Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
sergdeus committed Mar 13, 2024
1 parent dbb1b21 commit 1e7c171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/services/notifications/notifications_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class NotificationsService with ForegroundMessagesMixin {
{'pushTokenUpdateEvent:': '${GetIt.I<AppParameters>().loggedIn} '}.toString(),
);
}
if (oldToken != newToken && GetIt.I<AppParameters>().accessToken?.isNotEmpty == true) {
if (oldToken != newToken && GetIt.I<AppParameters>().loggedIn) {
late String deviceName;
var deviceData = <String, dynamic>{};
try {
Expand Down

0 comments on commit 1e7c171

Please sign in to comment.