mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 01:28:52 -06:00
Delete snooze_interval preference
This commit is contained in:
@@ -101,12 +101,6 @@ open class Preferences(private val storage: Storage) {
|
||||
set(showCompleted) {
|
||||
storage.putBoolean("pref_show_completed", showCompleted)
|
||||
}
|
||||
val snoozeInterval: Long
|
||||
get() = storage.getString("pref_snooze_interval", "15").toLong()
|
||||
|
||||
fun setSnoozeInterval(interval: Int) {
|
||||
storage.putString("pref_snooze_interval", interval.toString())
|
||||
}
|
||||
|
||||
var theme: Int
|
||||
get() = storage.getInt("pref_theme", ThemeSwitcher.THEME_AUTOMATIC)
|
||||
|
||||
Reference in New Issue
Block a user