cleanup imports
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import React from 'react'
|
||||
import {TouchableOpacity, TouchableOpacityProps, View} from 'react-native'
|
||||
import {Image as ExpoImage} from 'expo-image'
|
||||
import {atoms as a, native, useTheme, web} from '#/alf'
|
||||
import {useAvatar} from '#/screens/Onboarding/StepProfile/index'
|
||||
import {TouchableOpacity, TouchableOpacityProps, View} from 'react-native'
|
||||
import {Pencil_Stroke2_Corner0_Rounded as Pencil} from '#/components/icons/Pencil'
|
||||
import {Image_Stroke2_Corner0_Rounded as ImageIcon} from '#/components/icons/Image'
|
||||
import {Image as ExpoImage} from 'expo-image'
|
||||
import {StreamingLive_Stroke2_Corner0_Rounded as StreamingLive} from '#/components/icons/StreamingLive'
|
||||
import {AvatarCreatorCircle} from '#/screens/Onboarding/StepProfile/AvatarCreatorCircle'
|
||||
|
||||
function AvatarBottomButton({...props}: TouchableOpacityProps) {
|
||||
@@ -69,7 +69,7 @@ export function AvatarCircle({
|
||||
/>
|
||||
) : (
|
||||
<View style={styles.imageContainer}>
|
||||
<ImageIcon
|
||||
<StreamingLive
|
||||
height={100}
|
||||
width={100}
|
||||
style={{color: t.palette.contrast_200}}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React from 'react'
|
||||
import {useAvatar} from '#/screens/Onboarding/StepProfile/index'
|
||||
import ViewShot from 'react-native-view-shot'
|
||||
import {View} from 'react-native'
|
||||
import ViewShot from 'react-native-view-shot'
|
||||
|
||||
import {useAvatar} from '#/screens/Onboarding/StepProfile/index'
|
||||
import {atoms as a} from '#/alf'
|
||||
|
||||
const SIZE_MULTIPLIER = 1.5
|
||||
|
||||
@@ -2,6 +2,7 @@ import React from 'react'
|
||||
import {View} from 'react-native'
|
||||
import {useLingui} from '@lingui/react'
|
||||
import {msg, Trans} from '@lingui/macro'
|
||||
import {Image as ExpoImage} from 'expo-image'
|
||||
|
||||
import {atoms as a, useBreakpoints, useTheme} from '#/alf'
|
||||
import {StreamingLive_Stroke2_Corner0_Rounded as StreamingLive} from '#/components/icons/StreamingLive'
|
||||
@@ -28,7 +29,6 @@ import {openPicker} from 'lib/media/picker.shared'
|
||||
import {isNative, isWeb} from 'platform/detection'
|
||||
import {openCropper} from 'lib/media/picker'
|
||||
import {compressIfNeeded} from 'lib/media/manip'
|
||||
import {Image as ExpoImage} from 'expo-image/build/Image'
|
||||
import {usePhotoLibraryPermission} from 'lib/hooks/usePermissions'
|
||||
|
||||
export interface Avatar {
|
||||
|
||||
Reference in New Issue
Block a user