Skip to content

Commit 5891cb0

Browse files
Merge pull request #3572 from nextcloud/fix-qr-button
Fix QR code button not showing for light background
2 parents 7aa0e0c + f1c3154 commit 5891cb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

iOSClient/Login/NCLogin.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ class NCLogin: UIViewController, UITextFieldDelegate, NCLoginQRCodeDelegate {
8383
loginAddressDetail.textColor = textColor
8484
loginAddressDetail.text = String.localizedStringWithFormat(NSLocalizedString("_login_address_detail_", comment: ""), NCBrandOptions.shared.brand)
8585

86+
// QR code button
87+
qrCode.tintColor = NCBrandColor.shared.customer.isTooLight() ? .black : .white
88+
8689
// brand
8790
if NCBrandOptions.shared.disable_request_login_url {
8891
baseUrlTextField.isEnabled = false

0 commit comments

Comments
 (0)