diff --git a/Bitkit/Views/Wallets/Receive/ReceiveQr.swift b/Bitkit/Views/Wallets/Receive/ReceiveQr.swift index 592f2e8eb..abb48ab77 100644 --- a/Bitkit/Views/Wallets/Receive/ReceiveQr.swift +++ b/Bitkit/Views/Wallets/Receive/ReceiveQr.swift @@ -104,11 +104,22 @@ struct ReceiveQr: View { navigationPath.append(.cjitGeoBlocked) } } + } else if showDetails { + CustomButton( + title: t("wallet__receive_show_qr"), + icon: Image("qr") + .resizable() + .frame(width: 16, height: 16) + .foregroundColor(.textPrimary) + ) { + showDetails.toggle() + } + .accessibilityIdentifier("QRCode") } else { - CustomButton(title: showDetails ? t("common__qr_code") : t("common__show_details")) { + CustomButton(title: t("common__show_details"), variant: .tertiary) { showDetails.toggle() } - .accessibilityIdentifier(showDetails ? "QRCode" : "ShowDetails") + .accessibilityIdentifier("ShowDetails") } } .padding(.horizontal, 16) diff --git a/changelog.d/next/635.fixed.md b/changelog.d/next/635.fixed.md new file mode 100644 index 000000000..178b287ea --- /dev/null +++ b/changelog.d/next/635.fixed.md @@ -0,0 +1 @@ +Updated the Receive screen's QR and details toggle to match the intended design, so "Show Details" is now a tertiary button and "Show QR Code" a primary button with a QR icon.