Skip to content

Commit

Permalink
docs(worker): comment purpose of UI refresh task
Browse files Browse the repository at this point in the history
The purpose of the manual UI refresh task isn't immediately clear. It
was explained in the commit message of the commit that introduced it.
  • Loading branch information
ThomasFrans authored and hrkfdn committed Feb 1, 2024
1 parent 7940365 commit 8805464
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spotify_worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ impl Worker {
},
_ => {}
},
// Update animated parts of the UI (e.g. statusbar during playback).
_ = ui_refresh.tick() => {
if self.active {
self.events.trigger();
Expand Down

0 comments on commit 8805464

Please sign in to comment.