aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-01-14 16:25:57 -0500
committerAllan Wang <me@allanwang.ca>2018-01-14 16:25:57 -0500
commit96e2dd6e96368e9d59c206882331644016e75303 (patch)
tree48213f2f013f867db22858593a819cc214e2dab6
parent14893d2e23e5f1f0547c5461204ddffe7de492fa (diff)
downloadfrost-96e2dd6e96368e9d59c206882331644016e75303.tar.gz
frost-96e2dd6e96368e9d59c206882331644016e75303.tar.bz2
frost-96e2dd6e96368e9d59c206882331644016e75303.zip
Fix notifications
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt2
1 files changed, 1 insertions, 1 deletions
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