Skip to content

Commit cd6f63d

Browse files
authored
show legIntUrl qr code only for legIntVendors (#645)
* show `legIntUrl` qr code only for `legIntVendors` * Update `release-notes.md`
1 parent 6e45fd8 commit cd6f63d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ConsentViewController/Classes/Views/tvOS/NativePrivacyManager/GDPR/SPGDPRVendorDetailsViewController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ class SPGDPRVendorDetailsViewController: SPNativeScreenViewController {
150150

151151
func loadQrCodes() {
152152
loadQRCode(url: vendor?.policyUrl, imageView: PolicyQrCodeImageView, label: PolicyQrCodeLabel)
153-
loadQRCode(url: vendor?.legIntUrl, imageView: LegIntQrCodeImageView, label: LegIntQrCodeLabel)
153+
if displayingLegIntVendors {
154+
loadQRCode(url: vendor?.legIntUrl, imageView: LegIntQrCodeImageView, label: LegIntQrCodeLabel)
155+
}
154156
ToScanLabel.isHidden = PolicyQrCodeImageView.image == nil && LegIntQrCodeImageView.image == nil
155157
}
156158

release-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
* [DIA-6096](https://sourcepoint.atlassian.net/browse/DIA-6096) Fix slider color and text color on `vendorDetails` view [#643](https://github.com/SourcePointUSA/ios-cmp-app/pull/643)
2-
* [DIA-6096](https://sourcepoint.atlassian.net/browse/DIA-6096) Add `LegitimateInterestDiscloureText` text to `LegIntQrCodeLabel` label [#644](https://github.com/SourcePointUSA/ios-cmp-app/pull/644)
1+
* [DIA-6224](https://sourcepoint.atlassian.net/browse/DIA-6224)
2+
TVOS - Fixed Legal Disclosure QR code and text appearing without the LI legal basis existing for this vendor[#645](https://github.com/SourcePointUSA/ios-cmp-app/pull/645)

0 commit comments

Comments
 (0)