FossifyOrg / Clock

Combination of a beautiful clock with widget, alarm, stopwatch & timer, no ads
https://www.fossify.org
GNU General Public License v3.0
181 stars 12 forks source link

Incorrect toast behaviour when disabling alarms #26

Open pudup opened 4 months ago

pudup commented 4 months ago

Checklist

Affected app version

1.0.0

Affected Android/Custom ROM version

Android 12+

Affected device model

Pixel 8

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

Mirror of SimpleMobileTools/Simple-Clock#550

Have a non-repeating alarm that is due today Turn it off A toast appears when it shouldn't Turning it back on triggers 2 toasts

Expected behavior

No toast when disabling an alarm

Actual behavior

A toast displaying the time remaining is triggered when the alarm is disabled

Screenshots/Screen recordings

No response

Additional information

No response

Aga-C commented 4 months ago

Can you provide more detailed steps? I try to do as you wrote, but I can't reproduce the issue.

Also, please don't link to the Simple Clock repository for more details, as these issues can disappear any time.

pudup commented 4 months ago

I wrote incorrectly. It only occurs with alarms that are NOT recurring. Single use alarms have this issue.

Steps

  1. Turn on an alarm that triggers today.
  2. Turn it off and a toast fires
Aga-C commented 4 months ago

Thanks! Now I can reproduce this bug.