SimpleMobileTools / Simple-Clock

Combination of a beautiful clock with widget, alarm, stopwatch & timer, no ads
https://www.simplemobiletools.com
GNU General Public License v3.0
589 stars 235 forks source link

Fix for showing accurate next enabled alarm #469

Closed rawlin closed 1 year ago

rawlin commented 1 year ago

Fix for the inaccurate alarm that was shown on the clock screen

https://github.com/SimpleMobileTools/Simple-Clock/assets/25471892/8d346e07-a962-4d66-816b-73761049e53e

rawlin commented 1 year ago

This is tested on Xiaomi Redmi Note 10(Android 11) & Samsung Note 9 (Android 13)

tibbi commented 1 year ago

the new function should basically replace getNextAlarm(), no? Because it is still used in some places, so we are using both the new and old function.

rawlin commented 1 year ago

Replaced the usages of getNextAlarm with the new functions

rawlin commented 1 year ago

Removed the use of coroutines

tibbi commented 1 year ago

should be good, thanks