fix(tui): don't set background for normal repo alias
All checks were successful
Rust / build (push) Successful in 6m24s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 56s

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(