aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-08-19 23:18:47 -0700
committerGitHub <noreply@github.com>2017-08-19 23:18:47 -0700
commit17b2b7a21b1a8bb2e7afdbff90293009f1b26057 (patch)
treea2e2d158d739820da1baca9c2fd946b34132b429 /app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
parent8c178bd82d75ef237c97863fae555ca0346e7352 (diff)
downloadfrost-17b2b7a21b1a8bb2e7afdbff90293009f1b26057.tar.gz
frost-17b2b7a21b1a8bb2e7afdbff90293009f1b26057.tar.bz2
frost-17b2b7a21b1a8bb2e7afdbff90293009f1b26057.zip
Feature/ringtone selector (#200)
* Update changelog * Create and test ringtone selector * Update changelog * Update text
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.kt6
1 files changed, 5 insertions, 1 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 3ad90652..af605388 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -7,9 +7,9 @@ import ca.allanwang.kau.kpref.StringSet
import ca.allanwang.kau.kpref.kpref
import ca.allanwang.kau.utils.isColorVisibleOn
import com.pitchedapps.frost.enums.FACEBOOK_BLUE
+import com.pitchedapps.frost.enums.FeedSort
import com.pitchedapps.frost.enums.MainActivityLayout
import com.pitchedapps.frost.enums.Theme
-import com.pitchedapps.frost.enums.FeedSort
import com.pitchedapps.frost.injectors.InjectorContract
/**
@@ -104,6 +104,10 @@ object Prefs : KPref() {
var notificationSound: Boolean by kpref("notification_sound", true)
+ var notificationRingtone: String by kpref("notification_ringtone", "")
+
+ var messageRingtone: String by kpref("message_ringtone", "")
+
var notificationLights: Boolean by kpref("notification_lights", true)
var messageScrollToBottom: Boolean by kpref("message_scroll_to_bottom", false)