create Alert.tsx and Alert.web.tsx and replace uses (#513)

This commit is contained in:
Ansh
2023-04-25 12:01:47 -07:00
committed by GitHub
parent b00365c196
commit 01410ad4bf
4 changed files with 44 additions and 26 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
import {Alert} from 'react-native'
import {Camera} from 'expo-camera'
import * as MediaLibrary from 'expo-media-library'
import {Linking} from 'react-native'
import {isWeb} from 'platform/detection'
import {Alert} from 'view/com/util/Alert'
const openSettings = () => {
Linking.openURL('app-settings:')