From 3740eec5bf7e5426cd3f0bab167219a47e1aa56f Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Wed, 25 Jun 2025 13:28:06 -0400 Subject: [PATCH] Do not show update "View Release Notes" notification in nightly builds (#33394) These are useless in nightly, as the link within the notification simply directs us to a commit view on GitHub. We update frequently on nightly; dismissing this after every update is annoying. Release Notes: - N/A --- crates/auto_update_ui/src/auto_update_ui.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/auto_update_ui/src/auto_update_ui.rs b/crates/auto_update_ui/src/auto_update_ui.rs index 25d64bc3e8245a446c1f55fa31a506d40f3e9bd9..30c1cddec2935d82f2ecc9fe0cfc569999d80d7b 100644 --- a/crates/auto_update_ui/src/auto_update_ui.rs +++ b/crates/auto_update_ui/src/auto_update_ui.rs @@ -132,6 +132,11 @@ pub fn notify_if_app_was_updated(cx: &mut App) { let Some(updater) = AutoUpdater::get(cx) else { return; }; + + if let ReleaseChannel::Nightly = ReleaseChannel::global(cx) { + return; + } + let should_show_notification = updater.read(cx).should_show_update_notification(cx); cx.spawn(async move |cx| { let should_show_notification = should_show_notification.await?;