1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 23:01:04 +02:00

refactor: explicitly use set_text on non-pango labels

This commit is contained in:
Jake Stanger 2024-06-02 15:23:46 +01:00
parent 9d8a3eb370
commit b8fdd8531e
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
5 changed files with 5 additions and 5 deletions

View file

@ -473,7 +473,7 @@ impl Module<Button> for MusicModule {
if let (Some(elapsed), Some(duration)) =
(progress_tick.elapsed, progress_tick.duration)
{
progress_label.set_label(&format!(
progress_label.set_text(&format!(
"{}/{}",
format_time(elapsed),
format_time(duration)