mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
do not finish the ReminderActivity if Snooze dialog is cancelled
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user