Show version info when downloading and installing updates (#31568)
Follow up to #31179 In addition to seeing the version when in the `Click to restart and update Zed` status, this PR allows us to see the version when in `Downloading Zed update…` or `Installing Zed update…` status, in a tooltip, when hovering on the activity indicator. Will merge after tomorrow's release. Release Notes: - Added version information, in a tooltip, when hovering on the activity indicator for both the download and install status.
This commit is contained in:
parent
d5ab42aeb8
commit
7443fde4e9
3 changed files with 28 additions and 20 deletions
|
@ -647,8 +647,8 @@ impl TitleBar {
|
|||
let auto_updater = auto_update::AutoUpdater::get(cx);
|
||||
let label = match auto_updater.map(|auto_update| auto_update.read(cx).status()) {
|
||||
Some(AutoUpdateStatus::Updated { .. }) => "Please restart Zed to Collaborate",
|
||||
Some(AutoUpdateStatus::Installing)
|
||||
| Some(AutoUpdateStatus::Downloading)
|
||||
Some(AutoUpdateStatus::Installing { .. })
|
||||
| Some(AutoUpdateStatus::Downloading { .. })
|
||||
| Some(AutoUpdateStatus::Checking) => "Updating...",
|
||||
Some(AutoUpdateStatus::Idle) | Some(AutoUpdateStatus::Errored) | None => {
|
||||
"Please update Zed to Collaborate"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue