From 320c7b4a4c7594b5ba377f2016bdb9bc9c5e2322 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 15 Apr 2021 19:34:55 +0200 Subject: [PATCH] Fix bad check --- lib/helpers/push_notifications_helper.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/push_notifications_helper.dart b/lib/helpers/push_notifications_helper.dart index b513aa8..2634673 100644 --- a/lib/helpers/push_notifications_helper.dart +++ b/lib/helpers/push_notifications_helper.dart @@ -75,5 +75,5 @@ class PushNotificationsHelper { /// Is true if possible if push notifications are configurable static bool get arePushNotificationsAvailable => srvConfig.notificationsPolicy.hasFirebase || - (isAndroid && srvConfig.notificationsPolicy.hasFirebase); + (isAndroid && srvConfig.notificationsPolicy.hasIndependent); }