From 96e2dd6e96368e9d59c206882331644016e75303 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 14 Jan 2018 16:25:57 -0500 Subject: Fix notifications --- .../main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/kotlin/com/pitchedapps') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt index e8c5e7c1..0bacd6f1 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt @@ -147,7 +147,7 @@ enum class NotificationType( ?: return L.v { "$name notification data not found" } val notifs = response.data.getUnreadNotifications(data).filter { val text = it.text - Prefs.notificationKeywords.any { text.contains(it, true) } + Prefs.notificationKeywords.none { text.contains(it, true) } } if (notifs.isEmpty()) return var notifCount = 0 -- cgit v1.2.3