Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Refresh buttons when starting an entry to quickly update the previous button #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Patabugen
Copy link

This is a quick-fix for the issue where starting a new timer doesn't reset the already running button.

Currently the plugin leaves it for the next Polling to update, which could be up to 5 seconds (and is buggy at the moment).

This change simply triggers a refresh of all buttons after starting the new timer.

#30

@Patabugen
Copy link
Author

While looking at something else, I noticed the then() which should be refreshing the button anyway.

I haven't dug into why it's not - having the extra refreshButtons() seems to be working well, but I appreciate you may prefer a more thought through fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant