This commit is contained in:
Antonio Scandurra 2022-10-20 20:17:54 +02:00
parent 9b8e6cce02
commit db8b8ef66b
5 changed files with 30 additions and 0 deletions

View file

@ -14,6 +14,7 @@ pub use room::Room;
use std::sync::Arc;
pub fn init(client: Arc<Client>, user_store: ModelHandle<UserStore>, cx: &mut MutableAppContext) {
live_kit_client::displays();
let active_call = cx.add_model(|cx| ActiveCall::new(client, user_store, cx));
cx.set_global(active_call);
}