Skip to content

Commit

Permalink
[#8997] Error 'Hzb.checkViodeoAuthorizationStatus in not a function' …
Browse files Browse the repository at this point in the history
…at attempt to scan QR on IOS

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
  • Loading branch information
flexsurfer committed Oct 10, 2019
1 parent 2d1fff4 commit 6b1c30b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/status_im/ui/components/permissions.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
(ns status-im.ui.components.permissions
(:require [status-im.utils.platform :as platform]
[taoensso.timbre :as log]
[status-im.ui.components.camera :as camera]
[status-im.react-native.js-dependencies :as js-dependencies]))

(def permissions-class (.-PermissionsAndroid js-dependencies/react-native))
Expand All @@ -27,7 +25,4 @@
(on-allowed)
(on-denied)))
(.catch on-denied)))

(if ((set permissions) :camera)
(camera/request-access-ios on-allowed on-denied)
(on-allowed))))
(on-allowed)))

0 comments on commit 6b1c30b

Please sign in to comment.