Rename Handle to Model
This commit is contained in:
parent
14d24a9ac6
commit
1a54ac0d69
32 changed files with 11195 additions and 482 deletions
|
@ -4,7 +4,7 @@ mod open_listener;
|
|||
|
||||
pub use assets::*;
|
||||
use client2::{Client, UserStore};
|
||||
use gpui2::{AsyncAppContext, Handle};
|
||||
use gpui2::{AsyncAppContext, Model};
|
||||
pub use only_instance::*;
|
||||
pub use open_listener::*;
|
||||
|
||||
|
@ -47,7 +47,7 @@ pub fn connect_to_cli(
|
|||
|
||||
pub struct AppState {
|
||||
pub client: Arc<Client>,
|
||||
pub user_store: Handle<UserStore>,
|
||||
pub user_store: Model<UserStore>,
|
||||
}
|
||||
|
||||
pub async fn handle_cli_connection(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue