Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 52034d8

Browse files
authored
Merge pull request #15 from WeTransfer/feature/fix-close-button
Fixes the close button for iOS 11
2 parents 2a810d7 + be3a9c1 commit 52034d8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

WeScan/Scan/ScannerViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ final class ScannerViewController: UIViewController {
3434

3535
lazy private var closeButton: CloseButton = {
3636
let button = CloseButton(frame: CGRect(x: 0, y: 0, width: 18, height: 18))
37-
button.translatesAutoresizingMaskIntoConstraints = false
3837
button.addTarget(self, action: #selector(cancelImageScannerController(_:)), for: .touchUpInside)
3938
return button
4039
}()

0 commit comments

Comments
 (0)