Add basic call/user UI in top-right corner.
Allow ui::Avatar to take custom data instead of always relying on URI resolution
This commit is contained in:
parent
0b67983ddf
commit
c191943849
6 changed files with 113 additions and 36 deletions
|
@ -3408,6 +3408,10 @@ impl Workspace {
|
|||
self.modal_layer
|
||||
.update(cx, |modal_layer, cx| modal_layer.toggle_modal(cx, build))
|
||||
}
|
||||
|
||||
pub fn call_state(&mut self) -> &mut dyn CallHandler {
|
||||
&mut *self.call_handler
|
||||
}
|
||||
}
|
||||
|
||||
fn window_bounds_env_override(cx: &AsyncAppContext) -> Option<WindowBounds> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue