Krolyxon
Commit 9bdc76b

rmptui9bdc76b

ui: volume from bold to normal

Author
krolxon
Date
2024-05-13 14:04 +0530
Parent
f2783c0
Commit
9bdc76b6a9aa8c988dfe5c0c82f6688e80730b8d

+3 −3

1 file changed

  1. M src/ui.rs +3 −3
M src/ui.rs View
@@ -121,11 +121,11 @@ fn draw_directory_browser(frame: &mut Frame, app: &mut App, size: Rect) {
121121 Block::default()
122122 .title(format!("Song Browser: {}", app.browser.path.clone()).bold())
123123 .title(
124− Title::from(format!("Total Songs: {}", total_songs).bold().green())
124+ Title::from(format!("Total Songs: {}", total_songs).green())
125125 .alignment(Alignment::Center),
126126 )
127127 .title(
128− Title::from(format!("Volume: {}%", app.conn.volume).bold().green())
128+ Title::from(format!("Volume: {}%", app.conn.volume).green())
129129 .alignment(Alignment::Right),
130130 )
131131 .borders(Borders::ALL),
@@ -211,7 +211,7 @@ fn draw_queue(frame: &mut Frame, app: &mut App, size: Rect) {
211211 format!("({} items)", app.queue_list.list.len()).bold(),
212212 ))
213213 .title(
214− Title::from(format!("Volume: {}%", app.conn.volume).bold().green())
214+ Title::from(format!("Volume: {}%", app.conn.volume).green())
215215 .alignment(Alignment::Right),
216216 )
217217 .borders(Borders::ALL),