fix(tui): don't set background for normal repo alias

This didn't look good when using a light coloured terminal.
This commit is contained in:
Paul Campbell 2024-09-06 08:19:43 +01:00
parent e759e495fd
commit d2e2d00fe1

View file

@ -54,8 +54,7 @@ impl<'a> Identity<'a> {
let mut spans = vec![" ".into()]; let mut spans = vec![" ".into()];
match alert { match alert {
None => spans.push( None => spans.push(
Span::from(self.repo_alias.to_string()) Span::from(self.repo_alias.to_string()).style(Style::default().fg(Color::Cyan)),
.style(Style::default().fg(Color::Cyan).bg(Color::Black)),
), ),
Some(alert) => { Some(alert) => {
spans.push( spans.push(