We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6f3576 commit d1ef99aCopy full SHA for d1ef99a
README.md
@@ -68,6 +68,15 @@ qrCodeController.customPreviewView = previewLabel
68
69
qrCodeController.cameraFoundHandler = { [weak previewLabel] value in
70
previewLabel?.text = value
71
+
72
+ switch result {
73
+ case .text(let string):
74
+ previewLabel?.text = string
75
+ case .url(let url):
76
+ previewLabel?.text = url.absoluteString
77
+ case .ethWallet(let string):
78
+ label.text = string
79
+ }
80
}
81
82
viewController.present(qrCodeController, animated: true, completion: nil)
0 commit comments