ui: volume from bold to normal

This commit is contained in:
krolxon 2024-05-13 14:04:13 +05:30
parent f2783c00d2
commit 9bdc76b6a9
1 changed files with 3 additions and 3 deletions

View File

@ -121,11 +121,11 @@ fn draw_directory_browser(frame: &mut Frame, app: &mut App, size: Rect) {
Block::default()
.title(format!("Song Browser: {}", app.browser.path.clone()).bold())
.title(
Title::from(format!("Total Songs: {}", total_songs).bold().green())
Title::from(format!("Total Songs: {}", total_songs).green())
.alignment(Alignment::Center),
)
.title(
Title::from(format!("Volume: {}%", app.conn.volume).bold().green())
Title::from(format!("Volume: {}%", app.conn.volume).green())
.alignment(Alignment::Right),
)
.borders(Borders::ALL),
@ -211,7 +211,7 @@ fn draw_queue(frame: &mut Frame, app: &mut App, size: Rect) {
format!("({} items)", app.queue_list.list.len()).bold(),
))
.title(
Title::from(format!("Volume: {}%", app.conn.volume).bold().green())
Title::from(format!("Volume: {}%", app.conn.volume).green())
.alignment(Alignment::Right),
)
.borders(Borders::ALL),