Skip to content

Commit

Permalink
Merge pull request #2 from aaronLab/develop
Browse files Browse the repository at this point in the history
remove unnecessary init code
  • Loading branch information
aaronlab authored Feb 26, 2021
2 parents 4a63b93 + 84af5d9 commit fabdaec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
![Platform: iOS 13+](https://img.shields.io/badge/platform-iOS%2013%2B-blue?style=flat&logo=apple)
![SwiftPM compatible](https://img.shields.io/badge/SPM-compatible-brightgreen?style=flat&logo=swift)
[![License: MIT](https://img.shields.io/badge/license-MIT-lightgrey?style=flat)](https://github.com/aaronLab/SweetCardScanner/blob/main/LICENSE)
[![Release version](https://img.shields.io/badge/release-v1.0.2-blue)](https://github.com/aaronLab/SweetCardScanner/releases)
[![Release version](https://img.shields.io/badge/release-v1.0.3-blue)](https://github.com/aaronLab/SweetCardScanner/releases)

# SweetCardScanner

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ open class CreditCardScannerViewController: UIViewController {

override open func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.analyzer = ImageAnalyzer(delegate: self, wordsToSkip: self.wordsToSkip, invalidNames: self.invalidNames)

layoutSubviews()
AVCaptureDevice.authorize { [weak self] authoriazed in
// This is on the main thread.
Expand Down

0 comments on commit fabdaec

Please sign in to comment.