close notification handler proper on accept/decline
Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
@@ -18,9 +18,9 @@ pub fn init(app_state: &Arc<AppState>, cx: &mut AppContext) {
|
||||
while let Some(incoming_call) = incoming_call.next().await {
|
||||
for window in notification_windows.drain(..) {
|
||||
window
|
||||
.update(&mut cx, |_, _| {
|
||||
.update(&mut cx, |_, cx| {
|
||||
// todo!()
|
||||
//cx.remove_window();
|
||||
cx.remove_window();
|
||||
})
|
||||
.log_err();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user