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(),
|
"Installing Zed update…".to_string(),
|
||||||
None,
|
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 => (
|
AutoUpdateStatus::Errored => (
|
||||||
Some(WARNING_ICON),
|
Some(WARNING_ICON),
|
||||||
"Auto update failed".to_string(),
|
"Auto update failed".to_string(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue