Extract auto_update_ui
crate (#21008)
This PR extracts an `auto_update_ui` crate out of the `auto_update` crate. This allows `auto_update` to not depend on heavier crates like `editor`, which in turn allows other downstream crates to start building sooner. Release Notes: - N/A
This commit is contained in:
parent
841d3221b3
commit
f62ccf9c8a
11 changed files with 217 additions and 166 deletions
|
@ -23,6 +23,7 @@ assistant.workspace = true
|
|||
async-watch.workspace = true
|
||||
audio.workspace = true
|
||||
auto_update.workspace = true
|
||||
auto_update_ui.workspace = true
|
||||
backtrace = "0.3"
|
||||
breadcrumbs.workspace = true
|
||||
call.workspace = true
|
||||
|
|
|
@ -367,6 +367,7 @@ fn main() {
|
|||
AppState::set_global(Arc::downgrade(&app_state), cx);
|
||||
|
||||
auto_update::init(client.http_client(), cx);
|
||||
auto_update_ui::init(cx);
|
||||
reliability::init(
|
||||
client.http_client(),
|
||||
system_id.as_ref().map(|id| id.to_string()),
|
||||
|
|
|
@ -223,7 +223,7 @@ pub fn initialize_workspace(
|
|||
status_bar.add_right_item(cursor_position, cx);
|
||||
});
|
||||
|
||||
auto_update::notify_of_any_new_update(cx);
|
||||
auto_update_ui::notify_of_any_new_update(cx);
|
||||
|
||||
let handle = cx.view().downgrade();
|
||||
cx.on_window_should_close(move |cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue