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

fix(image): using fallback in places it shouldn't

This commit is contained in:
Jake Stanger 2023-07-26 21:49:45 +01:00
parent 1c68a97d33
commit 2367faab04
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
7 changed files with 27 additions and 15 deletions

View file

@ -408,7 +408,7 @@ impl Module<Button> for MusicModule {
if prev_cover != new_cover {
prev_cover = new_cover.clone();
let res = if let Some(image) = new_cover.and_then(|cover_path| {
ImageProvider::parse(&cover_path, &icon_theme, image_size)
ImageProvider::parse(&cover_path, &icon_theme, false, image_size)
}) {
image.load_into_image(album_image.clone())
} else {