add explicit frame to qr code

This commit is contained in:
spaced4ndy 2023-12-07 14:07:47 +04:00
parent 8780131b3e
commit 95c7d31e47

View File

@ -263,6 +263,7 @@ private struct InviteView: View {
private func qrCodeView() -> some View {
Section("Or show this code") {
SimpleXLinkQRCode(uri: connReqInvitation, onShare: setInvitationUsed)
.frame(maxWidth: .infinity, maxHeight: .infinity)
.padding()
.background(
RoundedRectangle(cornerRadius: 12, style: .continuous)