Remove version check

This commit is contained in:
Mikayla Maki 2023-05-31 14:22:49 -07:00
parent 27ef0e2b52
commit bf2016adf5
No known key found for this signature in database

View file

@ -19,7 +19,7 @@ use assets::Assets;
use call::ActiveCall;
use client::{
proto::{self, PeerId},
Client, TypedEnvelope, UserStore, ZED_APP_VERSION,
Client, TypedEnvelope, UserStore,
};
use collections::{hash_map, HashMap, HashSet};
use drag_and_drop::DragAndDrop;
@ -3197,19 +3197,6 @@ fn notify_of_new_dock(workspace: &WeakViewHandle<Workspace>, cx: &mut AsyncAppCo
if workspace
.read_with(cx, |workspace, cx| {
let version = ZED_APP_VERSION
.or_else(|| cx.platform().app_version().ok())
.map(|v| v.to_string())
.unwrap_or_default();
if !version.contains("0.88")
&& !version.contains("0.89")
&& !version.contains("0.90")
&& !version.contains("0.91")
{
return true;
}
workspace.has_shown_notification_once::<MessageNotification>(MESSAGE_ID, cx)
})
.unwrap_or(false)