mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
adding a setting for increasing volume gradually
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user