Skip to content

Commit

Permalink
fix: useCameraPermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cardoso committed Feb 15, 2025
1 parent ae7ac7b commit f68f919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/hooks/useVideoConf/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Camera } from 'expo-camera';
import { Camera,useCameraPermissions } from 'expo-camera';
import React, { useMemo } from 'react';

import { useActionSheet } from '../../../containers/ActionSheet';
Expand Down Expand Up @@ -33,7 +33,7 @@ export const useVideoConf = (

const { callEnabled, disabledTooltip, roomType } = useVideoConfCall(rid);

const [permission, requestPermission] = Camera.useCameraPermissions();
const [permission, requestPermission] = useCameraPermissions();
const { showActionSheet } = useActionSheet();

const isServer5OrNewer = useMemo(() => compareServerVersion(serverVersion, 'greaterThanOrEqualTo', '5.0.0'), [serverVersion]);
Expand Down

0 comments on commit f68f919

Please sign in to comment.