Remove more references to 'model' in GPUI APIs (#23693)
Release Notes: - N/A
This commit is contained in:
parent
a6b1514246
commit
9cae96f82f
115 changed files with 309 additions and 311 deletions
|
@ -399,9 +399,8 @@ impl VisualContext for AsyncWindowContext {
|
|||
where
|
||||
V: 'static + Render,
|
||||
{
|
||||
self.window.update(self, |_, window, cx| {
|
||||
window.replace_root_model(cx, build_view)
|
||||
})
|
||||
self.window
|
||||
.update(self, |_, window, cx| window.replace_root(cx, build_view))
|
||||
}
|
||||
|
||||
fn focus<V>(&mut self, view: &Entity<V>) -> Self::Result<()>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue