Skip to content

Commit

Permalink
Merge pull request #15 from WeTransfer/feature/fix-close-button
Browse files Browse the repository at this point in the history
Fixes the close button for iOS 11
  • Loading branch information
AvdLee authored Mar 22, 2018
2 parents 2a810d7 + be3a9c1 commit 52034d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion WeScan/Scan/ScannerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ final class ScannerViewController: UIViewController {

lazy private var closeButton: CloseButton = {
let button = CloseButton(frame: CGRect(x: 0, y: 0, width: 18, height: 18))
button.translatesAutoresizingMaskIntoConstraints = false
button.addTarget(self, action: #selector(cancelImageScannerController(_:)), for: .touchUpInside)
return button
}()
Expand Down

0 comments on commit 52034d8

Please sign in to comment.