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
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:
parent
e759e495fd
commit
d2e2d00fe1
1 changed files with 1 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue