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
|
@ -97,7 +97,7 @@ impl ChatPanel {
|
|||
});
|
||||
|
||||
cx.new(|cx| {
|
||||
let model = cx.model().downgrade();
|
||||
let model = cx.entity().downgrade();
|
||||
let message_list = ListState::new(
|
||||
0,
|
||||
gpui::ListAlignment::Bottom,
|
||||
|
@ -680,7 +680,7 @@ impl ChatPanel {
|
|||
})
|
||||
})
|
||||
.when_some(message_id, |el, message_id| {
|
||||
let this = cx.model().clone();
|
||||
let this = cx.entity().clone();
|
||||
|
||||
el.child(
|
||||
self.render_popover_button(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue