Formatting fixes

This commit is contained in:
Adam Perkowski 2024-07-19 15:56:09 +02:00
parent 9403f30157
commit 09569ef921
No known key found for this signature in database
GPG Key ID: 7CBDB58ECF1D3478
4 changed files with 9 additions and 7 deletions

View File

@ -156,7 +156,10 @@ impl CustomList {
// node
let list = List::new(items)
.highlight_style(Style::default().reversed())
.block(Block::default().borders(Borders::ALL).title(format!("Linux Toolbox - {}", chrono::Local::now().format("%Y-%m-%d"))))
.block(Block::default().borders(Borders::ALL).title(format!(
"Linux Toolbox - {}",
chrono::Local::now().format("%Y-%m-%d")
)))
.scroll_padding(1);
// Render it

View File

@ -95,6 +95,5 @@ fn run<B: Backend>(terminal: &mut Terminal<B>) -> io::Result<()> {
}
}
}
}
}