focus-pocus icon indicating copy to clipboard operation
focus-pocus copied to clipboard

Bug - Time isn't running

Open mthsaug opened this issue 1 year ago • 2 comments

For some reason focus time is not decreasing, sites are being blocked perfectly but time is not running.

https://github.com/jotavetech/focus-pocus/assets/169184240/264a9d80-ffec-4294-adb3-d8a5ef5a5559

mthsaug avatar May 20 '24 14:05 mthsaug

Thank you mthsaug, I was going to open a issue right now kkkk.

When the browser is closed while the timer is running, it stops working upon reopening because the background interval is not called again. This happens because the service worker is deactivated. We need a way to fix this and either stop the timer or resume it when the browser is reopened.

Sorry for the hassle, I'll try to sort it out as soon as possible.

joao-gugel avatar May 20 '24 15:05 joao-gugel

Good morning @mthsaug

I've sent the new version 1.0.2. Please update and try running it to see if everything works correctly now.

joao-gugel avatar May 21 '24 11:05 joao-gugel