MCPcopy Index your code
hub / github.com/BlueWallet/BlueWallet / openPrivacyDesktopSettings

Function openPrivacyDesktopSettings

class/camera.ts:6–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import loc from '../loc';
5
6export const openPrivacyDesktopSettings = () => {
7 if (isDesktop) {
8 Linking.openURL('x-apple.systempreferences:com.apple.preference.security?Privacy_Camera');
9 } else {
10 Linking.openSettings();
11 }
12};
13
14export const presentCameraNotAuthorizedAlert = (error: string) => {
15 Alert.alert(

Callers

nothing calls this directly

Calls 1

openSettingsMethod · 0.65

Tested by

no test coverage detected