From 6b1c30b44cea6f35a34cf97e9f060f3214d4954d Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Thu, 10 Oct 2019 16:44:32 +0200 Subject: [PATCH] [#8997] Error 'Hzb.checkViodeoAuthorizationStatus in not a function' at attempt to scan QR on IOS Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/components/permissions.cljs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/status_im/ui/components/permissions.cljs b/src/status_im/ui/components/permissions.cljs index 18b9fb5bea..84aa16661e 100644 --- a/src/status_im/ui/components/permissions.cljs +++ b/src/status_im/ui/components/permissions.cljs @@ -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)) @@ -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)))