implement the intent for picking audio file as an alarm sound

This commit is contained in:
tibbi
2018-03-29 15:52:25 +02:00
parent 60e38973f3
commit 031f2d0138
6 changed files with 44 additions and 6 deletions

View File

@ -49,4 +49,8 @@ class Config(context: Context) : BaseConfig(context) {
var useTextShadow: Boolean
get() = prefs.getBoolean(USE_TEXT_SHADOW, true)
set(useTextShadow) = prefs.edit().putBoolean(USE_TEXT_SHADOW, useTextShadow).apply()
var yourAlarmSounds: String
get() = prefs.getString(YOUR_ALARM_SOUNDS, "")
set(yourAlarmSounds) = prefs.edit().putString(YOUR_ALARM_SOUNDS, yourAlarmSounds).apply()
}