diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-22 15:20:11 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-22 15:20:11 -0700 |
commit | 56678f8a76a4034ae8a63c92e49ba39cc54ee057 (patch) | |
tree | 7ebad2c45dc573d6e28824462478b6f9d2bf30ed /app/src/main/kotlin/com/pitchedapps/frost/utils | |
parent | 297e6704a6332c43408b8a3579ccfaccaa6591a1 (diff) | |
download | frost-56678f8a76a4034ae8a63c92e49ba39cc54ee057.tar.gz frost-56678f8a76a4034ae8a63c92e49ba39cc54ee057.tar.bz2 frost-56678f8a76a4034ae8a63c92e49ba39cc54ee057.zip |
Add notification filtering
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt | 9 |
1 files changed, 9 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 83564be9..428d0c30 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt @@ -2,6 +2,7 @@ package com.pitchedapps.frost.utils import android.graphics.Color import ca.allanwang.kau.kpref.KPref +import ca.allanwang.kau.kpref.StringSet import ca.allanwang.kau.kpref.kpref import ca.allanwang.kau.utils.lazyResettable import com.pitchedapps.frost.injectors.InjectorContract @@ -60,4 +61,12 @@ object Prefs : KPref() { val isCustomTheme: Boolean get() = t == Theme.CUSTOM + + var showRoundedIcons: Boolean by kpref("rounded_icons", true) + + var showSuggestedFriends: Boolean by kpref("suggested_friends_feed", true) + + var animate: Boolean by kpref("fancy_animations", true) + + var notificationKeywords: StringSet by kpref("notification_keywords", mutableSetOf<String>()) } |