Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions Bitkit/Views/Wallets/Receive/ReceiveQr.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions changelog.d/next/635.fixed.md
Original file line number Diff line number Diff line change
@@ -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.
Loading