chore: adapt latest changes from GPUI and nostr-sdk
This commit is contained in:
@@ -191,7 +191,7 @@ impl StackPanel {
|
||||
return;
|
||||
}
|
||||
|
||||
let view = cx.model().clone();
|
||||
let view = cx.entity().clone();
|
||||
|
||||
window.defer(cx, {
|
||||
let panel = panel.clone();
|
||||
@@ -289,7 +289,7 @@ impl StackPanel {
|
||||
return;
|
||||
}
|
||||
|
||||
let view = cx.model().clone();
|
||||
let view = cx.entity().clone();
|
||||
if let Some(parent) = self.parent.as_ref() {
|
||||
_ = parent.update(cx, |parent, cx| {
|
||||
parent.remove_panel(Arc::new(view.clone()), window, cx);
|
||||
|
||||
Reference in New Issue
Block a user