mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-01 03:14:19 +03:00
fmt
This commit is contained in:
parent
705e36827c
commit
45b42c512d
@ -3199,9 +3199,14 @@ fn notify_of_new_dock(workspace: &WeakViewHandle<Workspace>, cx: &mut AsyncAppCo
|
||||
.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();
|
||||
.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") {
|
||||
if !version.contains("0.88")
|
||||
|| !version.contains("0.89")
|
||||
|| !version.contains("0.90")
|
||||
|| !version.contains("0.91")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user