mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-30 18:12:59 +00:00
ios: fix contact cards opening empty page on connection
This commit is contained in:
1 parent
4f1cf6e79f
commit
c4631a8ffc
2 files changed
-2
No files matched your search
@@ -477,7 +477,6 @@ struct ChatListNavLink: View {
|
||||
Task {
|
||||
let ok = await connectContactViaAddress(contact.contactId, incognito, showAlert: { AlertManager.shared.showAlert($0) })
|
||||
if ok {
|
||||
ItemsModel.shared.loadOpenChat(contact.id)
|
||||
AlertManager.shared.showAlert(connReqSentAlert(.contact))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -188,7 +188,6 @@ struct ContactListNavLink: View {
|
||||
Task {
|
||||
let ok = await connectContactViaAddress(contact.contactId, incognito, showAlert: { alert = SomeAlert(alert: $0, id: "ContactListNavLink connectContactViaAddress") })
|
||||
if ok {
|
||||
ItemsModel.shared.loadOpenChat(contact.id)
|
||||
DispatchQueue.main.async {
|
||||
dismissAllSheets(animated: true) {
|
||||
AlertManager.shared.showAlert(connReqSentAlert(.contact))
|
||||
|
||||
Reference in new issue
Block a user