Remove silly panic
This commit is contained in:
parent
ed0b9acb0a
commit
b875d4ed40
1 changed files with 0 additions and 4 deletions
|
@ -3197,10 +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 = cx.global::<ZedVersion>().0;
|
|
||||||
if version.contains("0.91") {
|
|
||||||
panic!("Please remove the dock key binding change notification");
|
|
||||||
}
|
|
||||||
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