mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
Clock - Properly handle vibration toggle at timer reminder
This commit is contained in:
@ -70,4 +70,9 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
gson.fromJson(lastAlarm, Alarm::class.java)
|
||||
}
|
||||
set(alarm) = prefs.edit().putString(ALARM_LAST_CONFIG, gson.toJson(alarm)).apply()
|
||||
|
||||
var timerChannelId: String?
|
||||
get() = prefs.getString(TIMER_CHANNEL_ID, null)
|
||||
set(id) = prefs.edit().putString(TIMER_CHANNEL_ID, id).apply()
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user