1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Fix bad check

This commit is contained in:
Pierre HUBERT 2021-04-15 19:34:55 +02:00
parent f0f2f06ec2
commit 320c7b4a4c

View File

@ -75,5 +75,5 @@ class PushNotificationsHelper {
/// Is true if possible if push notifications are configurable /// Is true if possible if push notifications are configurable
static bool get arePushNotificationsAvailable => static bool get arePushNotificationsAvailable =>
srvConfig.notificationsPolicy.hasFirebase || srvConfig.notificationsPolicy.hasFirebase ||
(isAndroid && srvConfig.notificationsPolicy.hasFirebase); (isAndroid && srvConfig.notificationsPolicy.hasIndependent);
} }