Skip to content

Commit

Permalink
Merge branch 'dev' into file_transfer_ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Flemmli97 authored Mar 4, 2024
2 parents ba93500 + ec50e7b commit e78a375
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ui/src/layouts/chats/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,6 @@ pub fn ChatLayout(cx: Scope) -> Element {
}
});

// HACK: When enter in chats with notification, for some reason app is crashing
// this a hack solution to clear notifications and not crash app if user change to chats page
if !state.read().ui.toast_notifications.is_empty() {
state.write().ui.toast_notifications.clear();
}

cx.render(rsx!(
div {
id: "chat-layout",
Expand Down

0 comments on commit e78a375

Please sign in to comment.