1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-26 12:58:51 +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);
}