瀏覽代碼

removed some code from legacy approach

nayooti 5 年之前
父節點
當前提交
acea9f9999
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      deltachat-ios/Controller/QrCodeReaderController.swift

+ 0 - 7
deltachat-ios/Controller/QrCodeReaderController.swift

@@ -13,13 +13,6 @@ class QrCodeReaderController: UIViewController {
         return videoPreviewLayer
     }()
 
-    private lazy var cameraAccessButton: UIButton = {
-        let button = UIButton()
-        button.setTitle("Settings", for: .normal)
-        button.addTarget(self, action: #selector(cameraAccessButtonPressed(_:)), for: .touchUpInside)
-        return button
-    }()
-
     private var infoLabel: UILabel = {
         let label = UILabel()
            label.translatesAutoresizingMaskIntoConstraints = false