mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-18 20:50:40 +01:00
change the default reminder audio stream from Alarm to Notification
This commit is contained in:
parent
79f545413e
commit
db1e20e296
@ -115,7 +115,7 @@ class Config(context: Context) : BaseConfig(context) {
|
|||||||
set(lastUsedLocalEventTypeId) = prefs.edit().putLong(LAST_USED_LOCAL_EVENT_TYPE_ID, lastUsedLocalEventTypeId).apply()
|
set(lastUsedLocalEventTypeId) = prefs.edit().putLong(LAST_USED_LOCAL_EVENT_TYPE_ID, lastUsedLocalEventTypeId).apply()
|
||||||
|
|
||||||
var reminderAudioStream: Int
|
var reminderAudioStream: Int
|
||||||
get() = prefs.getInt(REMINDER_AUDIO_STREAM, AudioManager.STREAM_ALARM)
|
get() = prefs.getInt(REMINDER_AUDIO_STREAM, AudioManager.STREAM_NOTIFICATION)
|
||||||
set(reminderAudioStream) = prefs.edit().putInt(REMINDER_AUDIO_STREAM, reminderAudioStream).apply()
|
set(reminderAudioStream) = prefs.edit().putInt(REMINDER_AUDIO_STREAM, reminderAudioStream).apply()
|
||||||
|
|
||||||
var replaceDescription: Boolean
|
var replaceDescription: Boolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user