cargo fmt
This commit is contained in:
parent
91f2f31daa
commit
3e3079b513
1 changed files with 1 additions and 3 deletions
|
@ -59,9 +59,7 @@ pub fn toggle_mute(_: &ToggleMute, cx: &mut AppContext) {
|
||||||
|
|
||||||
pub fn toggle_deafen(_: &ToggleDeafen, cx: &mut AppContext) {
|
pub fn toggle_deafen(_: &ToggleDeafen, cx: &mut AppContext) {
|
||||||
if let Some(room) = ActiveCall::global(cx).read(cx).room().cloned() {
|
if let Some(room) = ActiveCall::global(cx).read(cx).room().cloned() {
|
||||||
let toggle_deafan = room.update(cx, |room, cx| {
|
let toggle_deafan = room.update(cx, |room, cx| room.toggle_deafen(cx));
|
||||||
room.toggle_deafen(cx)
|
|
||||||
});
|
|
||||||
toggle_deafan.detach_and_log_err(cx);
|
toggle_deafan.detach_and_log_err(cx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue