No camera is shown if scan QR. White screen is shown instead. (#1120)
This commit is contained in:
parent
0c53936d61
commit
1a88b647b4
|
@ -13,7 +13,9 @@
|
|||
|
||||
(defn navigate-to-scanner
|
||||
[_ [_ identifier]]
|
||||
(dispatch [:navigate-to :qr-scanner identifier]))
|
||||
(dispatch [:request-permissions
|
||||
[:camera]
|
||||
#(dispatch [:navigate-to :qr-scanner identifier])]))
|
||||
|
||||
(register-handler :scan-qr-code
|
||||
(after navigate-to-scanner)
|
||||
|
|
Loading…
Reference in New Issue