mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2024-12-14 17:33:58 +01:00
do not finish the ReminderActivity if Snooze dialog is cancelled
This commit is contained in:
parent
d7c2323489
commit
c5f9dd2906
@ -119,7 +119,7 @@ class ReminderActivity : SimpleActivity() {
|
||||
setupAlarmClock(alarm!!, config.snoozeTime * MINUTE_SECONDS)
|
||||
finishActivity()
|
||||
} else {
|
||||
showPickSecondsDialog(config.snoozeTime * MINUTE_SECONDS, true, cancelCallback = { finishActivity() }) {
|
||||
showPickSecondsDialog(config.snoozeTime * MINUTE_SECONDS, true) {
|
||||
config.snoozeTime = it / MINUTE_SECONDS
|
||||
setupAlarmClock(alarm!!, it)
|
||||
finishActivity()
|
||||
|
Loading…
Reference in New Issue
Block a user