Massage styling of auto-update messages a bit

This commit is contained in:
Antonio Scandurra 2022-04-05 10:15:26 +02:00
parent bd0b063bd1
commit 493450f6a8
3 changed files with 3 additions and 3 deletions

View file

@ -253,7 +253,7 @@ impl View for AutoUpdateIndicator {
.boxed(),
AutoUpdateStatus::Installing => Text::new(
"Installing update…".to_string(),
theme.auto_update_done_message.clone(),
theme.auto_update_progress_message.clone(),
)
.boxed(),
AutoUpdateStatus::Updated => Text::new(

View file

@ -84,7 +84,7 @@ cursor_position = "$text.2"
diagnostic_message = "$text.2"
lsp_message = "$text.2"
auto_update_progress_message = "$text.2"
auto_update_done_message = "$text.0"
auto_update_done_message = "$text.2"
[workspace.toolbar]
background = "$surface.1"

View file

@ -179,8 +179,8 @@ pub fn build_workspace(
status_bar.add_left_item(diagnostic_summary, cx);
status_bar.add_left_item(diagnostic_message, cx);
status_bar.add_left_item(lsp_status, cx);
status_bar.add_right_item(cursor_position, cx);
status_bar.add_right_item(auto_update, cx);
status_bar.add_right_item(cursor_position, cx);
});
workspace