From 6c653950b967a5f39ac8024b6f9153474f062913 Mon Sep 17 00:00:00 2001 From: Kazutoshi Baba Date: Thu, 20 Aug 2020 17:05:28 +0900 Subject: [PATCH] Fix cancel button hilight to enable --- Sources/CreditCardScanner/CreditCardScannerViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/CreditCardScanner/CreditCardScannerViewController.swift b/Sources/CreditCardScanner/CreditCardScannerViewController.swift index 88c4e83..488a5b5 100644 --- a/Sources/CreditCardScanner/CreditCardScannerViewController.swift +++ b/Sources/CreditCardScanner/CreditCardScannerViewController.swift @@ -57,7 +57,7 @@ open class CreditCardScannerViewController: UIViewController { private var bottomStackView = UIStackView() private var titleLabel = UILabel() private var subtitleLabel = UILabel() - private var cancelButton = UIButton() + private var cancelButton = UIButton(type: .system) // MARK: - Vision-related