Formatting

This commit is contained in:
Wojciech Kozlowski 2023-04-27 18:52:21 +02:00
parent 1be636b648
commit 4c57df5b9a

View File

@ -401,9 +401,9 @@ impl<'a, 'b> TrackState<'a, 'b> {
let track = state.selected().map(|i| &tracks[i]); let track = state.selected().map(|i| &tracks[i]);
let info = Paragraph::new(format!( let info = Paragraph::new(format!(
"Track: {}\n\ "Track: {}\n\
Title: {}\n\ Title: {}\n\
Artist: {}\n\ Artist: {}\n\
Format: {}", Format: {}",
track track
.map(|t| t.number.to_string()) .map(|t| t.number.to_string())
.unwrap_or_else(|| "".to_string()), .unwrap_or_else(|| "".to_string()),