Rename Handle to Model
This commit is contained in:
parent
14d24a9ac6
commit
1a54ac0d69
32 changed files with 11195 additions and 482 deletions
|
@ -44,7 +44,7 @@ impl EditorPane {
|
|||
|
||||
pub fn view(cx: &mut AppContext) -> View<Self> {
|
||||
{
|
||||
let state = cx.entity(|cx| hello_world_rust_editor_with_status_example(cx));
|
||||
let state = cx.build_model(|cx| hello_world_rust_editor_with_status_example(cx));
|
||||
let render = Self::render;
|
||||
View::for_handle(state, render)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue