Skip to content

Commit af3f813

Browse files
committed
Change the camera permission message background to black
1 parent add0b28 commit af3f813

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Authenticator/Source/TokenScannerViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class TokenScannerViewController: UIViewController, QRScannerDelegate {
5757

5858
private lazy var permissionButton: UIButton = {
5959
let button = UIButton(frame: UIScreen.main.bounds)
60-
button.backgroundColor = .otpBackgroundColor
60+
button.backgroundColor = .black
6161
button.addTarget(self, action: #selector(TokenScannerViewController.editPermissions), for: .touchUpInside)
6262

6363
self.permissionLabel.frame = button.bounds.insetBy(dx: 35, dy: 35)
@@ -143,7 +143,7 @@ class TokenScannerViewController: UIViewController, QRScannerDelegate {
143143
showMissingAccessMessage()
144144
case .restricted:
145145
// There's nothing we can do if camera access is restricted.
146-
// This should only ever be reached is camera restrictions are changed while the app is running, because if
146+
// This should only ever be reached if camera restrictions are changed while the app is running, because if
147147
// the app is launched with restrictions already enabled, the deviceCanScan check will retrun false.
148148
dispatchAction(.beginManualTokenEntry)
149149
break

0 commit comments

Comments
 (0)