remove last unused ratatui styles

This commit is contained in:
🪞👃🪞 2024-11-01 15:29:47 +02:00
parent 799228e366
commit ff7ae12405
2 changed files with 1 additions and 10 deletions

View file

@ -4,12 +4,7 @@ impl Content for TransportToolbar<Tui> {
fn content (&self) -> impl Widget<Engine = Tui> {
lay!(
self.focus.wrap(self.focused, TransportToolbarFocus::PlayPause, &Styled(
match *self.clock.playing.read().unwrap() {
Some(TransportState::Stopped) => Some(GRAY_DIM.bold()),
Some(TransportState::Starting) => Some(GRAY_NOT_DIM_BOLD),
Some(TransportState::Rolling) => Some(WHITE_NOT_DIM_BOLD),
_ => unreachable!(),
},
None,
match *self.clock.playing.read().unwrap() {
Some(TransportState::Rolling) => "▶ PLAYING",
Some(TransportState::Starting) => "READY ...",