mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-24 23:47:05 +00:00
Added action to autoupdate
This commit is contained in:
parent
cf83ecccbb
commit
43f61ab413
1 changed files with 5 additions and 1 deletions
|
@ -252,7 +252,11 @@ impl ActivityIndicator {
|
|||
"Installing Zed update…".to_string(),
|
||||
None,
|
||||
),
|
||||
AutoUpdateStatus::Updated => (None, "Restart to update Zed".to_string(), None),
|
||||
AutoUpdateStatus::Updated => (
|
||||
None,
|
||||
"Click to restart and update Zed".to_string(),
|
||||
Some(Box::new(workspace::Restart)),
|
||||
),
|
||||
AutoUpdateStatus::Errored => (
|
||||
Some(WARNING_ICON),
|
||||
"Auto update failed".to_string(),
|
||||
|
|
Loading…
Reference in a new issue