aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-08 19:21:13 -0400
committerGitHub <noreply@github.com>2017-07-08 19:21:13 -0400
commit085295d5dbda84ff02221cc65bd472fff69e636e (patch)
tree12768bed871581a054941b030f1e1224278fc794 /app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
parentb10a745c7f0f46f4f014e1ba7fa71172d7442b83 (diff)
downloadfrost-085295d5dbda84ff02221cc65bd472fff69e636e.tar.gz
frost-085295d5dbda84ff02221cc65bd472fff69e636e.tar.bz2
frost-085295d5dbda84ff02221cc65bd472fff69e636e.zip
Dev 1.2.1 (#43) - Revamp notificationsv1.2.1
* Test proguard * Test proguard without enums * Allow notifications from only current account * Prettify notifications * Clean up layouts * Test proguard log * Update rxkotlin * Update remaining dependencies
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
index 95642a7a..7ce8ca10 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -85,6 +85,8 @@ object Prefs : KPref() {
var notificationKeywords: StringSet by kpref("notification_keywords", mutableSetOf<String>())
+ var notificationAllAccounts: Boolean by kpref("notification_all_accounts", true)
+
/**
* Cache like value to determine if user has or had pro
* In most cases, [com.pitchedapps.frost.utils.iab.IS_FROST_PRO] should be looked at instead