CCExtractor / ultimate_alarm_clock

GNU General Public License v2.0
68 stars 122 forks source link

Fix: Alarm Not Deleting After Enabling "deleteAfterGoesOff" #551

Closed keyurgit45 closed 2 weeks ago

keyurgit45 commented 4 months ago

Description

The code for deleteAfterGoesOff is written in AlarmRingController's onInit() function. When the code is triggering, currentlyRingingAlarm holds the FakeAlarmModel value instead of the actual ringing alarm value. That's why the delete operation is not being performed.

Proposed Changes

I have added the code to delete the alarm in the onTap() function of the Dismiss button. So when the user dismisses the alarm, the alarm will be deleted.

Fixes #550

Checklist