adding a setting for increasing volume gradually

This commit is contained in:
tibbi
2018-07-06 23:27:54 +02:00
parent 8d611535f0
commit 12d9aecc28
4 changed files with 37 additions and 0 deletions

View File

@ -50,4 +50,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 increaseVolumeGradually: Boolean
get() = prefs.getBoolean(INCREASE_VOLUME_GRADUALLY, true)
set(increaseVolumeGradually) = prefs.edit().putBoolean(INCREASE_VOLUME_GRADUALLY, increaseVolumeGradually).apply()
}