Remove version check
This commit is contained in:
parent
27ef0e2b52
commit
bf2016adf5
1 changed files with 1 additions and 14 deletions
|
@ -19,7 +19,7 @@ use assets::Assets;
|
||||||
use call::ActiveCall;
|
use call::ActiveCall;
|
||||||
use client::{
|
use client::{
|
||||||
proto::{self, PeerId},
|
proto::{self, PeerId},
|
||||||
Client, TypedEnvelope, UserStore, ZED_APP_VERSION,
|
Client, TypedEnvelope, UserStore,
|
||||||
};
|
};
|
||||||
use collections::{hash_map, HashMap, HashSet};
|
use collections::{hash_map, HashMap, HashSet};
|
||||||
use drag_and_drop::DragAndDrop;
|
use drag_and_drop::DragAndDrop;
|
||||||
|
@ -3197,19 +3197,6 @@ fn notify_of_new_dock(workspace: &WeakViewHandle<Workspace>, cx: &mut AsyncAppCo
|
||||||
|
|
||||||
if workspace
|
if workspace
|
||||||
.read_with(cx, |workspace, cx| {
|
.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)
|
workspace.has_shown_notification_once::<MessageNotification>(MESSAGE_ID, cx)
|
||||||
})
|
})
|
||||||
.unwrap_or(false)
|
.unwrap_or(false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue