From 8805464b1d6478bacdb4fb09ef1afef3cc3a6db9 Mon Sep 17 00:00:00 2001 From: Thomas Frans Date: Wed, 31 Jan 2024 17:41:34 +0100 Subject: [PATCH] docs(worker): comment purpose of UI refresh task 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. --- src/spotify_worker.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spotify_worker.rs b/src/spotify_worker.rs index ff9207415..3073aad0d 100644 --- a/src/spotify_worker.rs +++ b/src/spotify_worker.rs @@ -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();