mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-02-15 03:10:36 +01:00
Ensure that intent alarms are not repeating by default
This commit is contained in:
parent
12f5e530e6
commit
fe490f6683
@ -76,9 +76,6 @@ class IntentHandlerActivity : SimpleActivity() {
|
|||||||
days?.forEach {
|
days?.forEach {
|
||||||
weekDays += getBitForCalendarDay(it)
|
weekDays += getBitForCalendarDay(it)
|
||||||
}
|
}
|
||||||
if (weekDays == 0) {
|
|
||||||
weekDays = getTomorrowBit()
|
|
||||||
}
|
|
||||||
val soundToUse = ringtone?.let {
|
val soundToUse = ringtone?.let {
|
||||||
if (it == AlarmClock.VALUE_RINGTONE_SILENT) {
|
if (it == AlarmClock.VALUE_RINGTONE_SILENT) {
|
||||||
AlarmSound(0, getString(com.simplemobiletools.commons.R.string.no_sound), SILENT)
|
AlarmSound(0, getString(com.simplemobiletools.commons.R.string.no_sound), SILENT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user