ui: volume from bold to normal
This commit is contained in:
parent
f2783c00d2
commit
9bdc76b6a9
|
|
@ -121,11 +121,11 @@ fn draw_directory_browser(frame: &mut Frame, app: &mut App, size: Rect) {
|
||||||
Block::default()
|
Block::default()
|
||||||
.title(format!("Song Browser: {}", app.browser.path.clone()).bold())
|
.title(format!("Song Browser: {}", app.browser.path.clone()).bold())
|
||||||
.title(
|
.title(
|
||||||
Title::from(format!("Total Songs: {}", total_songs).bold().green())
|
Title::from(format!("Total Songs: {}", total_songs).green())
|
||||||
.alignment(Alignment::Center),
|
.alignment(Alignment::Center),
|
||||||
)
|
)
|
||||||
.title(
|
.title(
|
||||||
Title::from(format!("Volume: {}%", app.conn.volume).bold().green())
|
Title::from(format!("Volume: {}%", app.conn.volume).green())
|
||||||
.alignment(Alignment::Right),
|
.alignment(Alignment::Right),
|
||||||
)
|
)
|
||||||
.borders(Borders::ALL),
|
.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(),
|
format!("({} items)", app.queue_list.list.len()).bold(),
|
||||||
))
|
))
|
||||||
.title(
|
.title(
|
||||||
Title::from(format!("Volume: {}%", app.conn.volume).bold().green())
|
Title::from(format!("Volume: {}%", app.conn.volume).green())
|
||||||
.alignment(Alignment::Right),
|
.alignment(Alignment::Right),
|
||||||
)
|
)
|
||||||
.borders(Borders::ALL),
|
.borders(Borders::ALL),
|
||||||
|
|
|
||||||
Reference in New Issue