mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
Merge branch 'master' into request_2
# Conflicts: # app/src/main/kotlin/com/simplemobiletools/clock/helpers/Constants.kt
This commit is contained in:
@ -74,4 +74,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