feat(audio): add fallback when title/artist not found

This commit is contained in:
jilv220 2024-02-20 22:36:00 -08:00 committed by Ashley Wulber
parent b7c6cc0a97
commit 59af0f1b8b
5 changed files with 21 additions and 2 deletions

View file

@ -718,7 +718,7 @@ impl cosmic::Application for Audio {
artists
}
} else {
String::new()
fl!("unknown-artist")
};
elements.push(column![text(title).size(14), text(artists).size(10),].into());