Fix some more warnings
This commit is contained in:
parent
30af3ffaf3
commit
8ca9f4e12a
3 changed files with 10 additions and 10 deletions
|
@ -233,9 +233,11 @@ impl Render for CollabTitlebarItem {
|
|||
.child(IconButton::new("leave-call", ui::Icon::Exit).on_click({
|
||||
let workspace = workspace.clone();
|
||||
move |_, cx| {
|
||||
workspace.update(cx, |this, cx| {
|
||||
this.call_state().hang_up(cx).detach();
|
||||
});
|
||||
workspace
|
||||
.update(cx, |this, cx| {
|
||||
this.call_state().hang_up(cx).detach();
|
||||
})
|
||||
.log_err();
|
||||
}
|
||||
})),
|
||||
)
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
use gpui::{
|
||||
div, AnyElement, Div, IntoElement as _, ParentElement as _, Render, RenderOnce, Styled,
|
||||
ViewContext, WindowContext,
|
||||
div, AnyElement, Div, IntoElement as _, ParentElement as _, RenderOnce, Styled, WindowContext,
|
||||
};
|
||||
use ui::Avatar;
|
||||
|
||||
#[derive(Default)]
|
||||
pub(crate) struct FacePile {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue