ios: fix incorrectly showing previous address when it is deleted and created without closing the view (#2961)

This commit is contained in:
Evgeny Poberezkin 2023-08-21 13:21:43 +01:00 committed by GitHub
parent 75c9b40262
commit 04cc0e8065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ struct UserAddressView: View {
@ViewBuilder private func existingAddressView(_ userAddress: UserContactLink) -> some View {
Section {
QRCode(uri: userAddress.connReqContact)
MutableQRCode(uri: Binding.constant(userAddress.connReqContact))
shareQRCodeButton(userAddress)
if MFMailComposeViewController.canSendMail() {
shareViaEmailButton(userAddress)