1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49: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
static bool get arePushNotificationsAvailable =>
srvConfig.notificationsPolicy.hasFirebase ||
(isAndroid && srvConfig.notificationsPolicy.hasFirebase);
(isAndroid && srvConfig.notificationsPolicy.hasIndependent);
}