Skip to content

Commit 2f41fe3

Browse files
authored
Merge pull request yannickl#94 from Ingibjorg/feature/update-readme-for-v7.4
Update readme info on QRCodeReaderDisplayable
2 parents 79d1ad5 + 15262fc commit 2f41fe3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ class YourCustomView: UIView, QRCodeReaderDisplayable {
100100
let cancelButton: UIButton? = UIButton()
101101
let switchCameraButton: UIButton? = SwitchCameraButton()
102102
let toggleTorchButton: UIButton? = ToggleTorchButton()
103+
var overlayView: UIView? = UIView()
103104

104-
func setupComponents(showCancelButton: Bool, showSwitchCameraButton: Bool, showTorchButton: Bool) {
105+
func setupComponents(showCancelButton: Bool, showSwitchCameraButton: Bool, showTorchButton: Bool, showOverlayView: Bool) {
105106
// addSubviews
106107
// setup constraints
107108
// etc.

0 commit comments

Comments
 (0)