Ayagikei / LifeUp

Pure and highly customizable gamified to-do and habit-forming app.
209 stars 4 forks source link

[Bug] Coin widget shows weird number after a reboot #97

Closed UsernamesAreNotMyThing closed 1 year ago

UsernamesAreNotMyThing commented 1 year ago

Describe the bug The number shown on the coin widget appears wrong (apparently a bunch of 2's and 3's) after a reboot, but fixes itself once you go into the app.

To Reproduce Reboot with the widget on your home screen.

Expected behavior I should just show the regular coin number on startup.

Screenshots Screenshot_20230613-123043

Environments and Version (please complete the following information):

Additional context For some unknown reason, my phone likes to reboot for literally no reason. (no updates happening)

Ayagikei commented 1 year ago

Thanks for the report!

This seems to be the default display when the widget is not refreshed to data.

We're not quite sure if this has anything to do with Moto's Launcher, but we'll look into that first.

Ayagikei commented 1 year ago

We will change the default displayed value (such as "-") in v1.93.

However, this problem of not refreshing after restarting may be due to a launcher bug or system battery optimization. There's probably nothing we can do about this(?).

Of course, we may introduce mechanisms like WorkManager in the future. This might help a little.