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:
Piotr Osiewicz 2023-11-23 15:00:13 +01:00
parent 0b67983ddf
commit c191943849
6 changed files with 113 additions and 36 deletions

View file

@ -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> {