Selected item is always at the bottom of list #41
@ -401,9 +401,9 @@ impl<'a, 'b> TrackState<'a, 'b> {
|
||||
let track = state.selected().map(|i| &tracks[i]);
|
||||
let info = Paragraph::new(format!(
|
||||
"Track: {}\n\
|
||||
Title: {}\n\
|
||||
Artist: {}\n\
|
||||
Format: {}",
|
||||
Title: {}\n\
|
||||
Artist: {}\n\
|
||||
Format: {}",
|
||||
track
|
||||
.map(|t| t.number.to_string())
|
||||
.unwrap_or_else(|| "".to_string()),
|
||||
|
Loading…
Reference in New Issue
Block a user