Open popup window when receiving a call
We still need to style and allow people to accept the call but this is a good starting point. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
aa3cb8e35e
commit
46b61feb9a
@@ -786,6 +786,10 @@ impl AsyncAppContext {
|
||||
self.update(|cx| cx.add_window(window_options, build_root_view))
|
||||
}
|
||||
|
||||
pub fn remove_window(&mut self, window_id: usize) {
|
||||
self.update(|cx| cx.remove_window(window_id))
|
||||
}
|
||||
|
||||
pub fn platform(&self) -> Arc<dyn Platform> {
|
||||
self.0.borrow().platform()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user