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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 26 deletions

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:')