Display album name for playable objects (#268)
* display album name * give proper name to the space key fixes #266 * use 50% for center offset Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
This commit is contained in:
@@ -153,6 +153,10 @@ impl ListItem for Track {
|
||||
format!("{}", self)
|
||||
}
|
||||
|
||||
fn display_center(&self) -> String {
|
||||
format!("{}", self.album)
|
||||
}
|
||||
|
||||
fn display_right(&self, library: Arc<Library>) -> String {
|
||||
let saved = if library.is_saved_track(&Playable::Track(self.clone())) {
|
||||
if library.use_nerdfont {
|
||||
|
||||
Reference in New Issue
Block a user