ios: fix opening via notification returning to chat list when screen lock is enabled (#1725)

* ios: Fixed broken chat push/pop logic

* remove binding parameter

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
This commit is contained in:
Stanislav Dmitrenko 2023-01-11 22:48:52 +00:00 committed by GitHub
parent 98417dafc4
commit 138cce4436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ struct ChatListView: View {
destination: chatView(),
isActive: Binding(
get: { chatModel.chatId != nil },
set: { _, _ in chatModel.chatId = nil }
set: { _ in }
)
) { EmptyView() }
)