diff options
author | Ivan Chen <ivan@tagg.id> | 2021-07-02 19:17:13 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-07-02 19:17:13 -0400 |
commit | ec9c5aed2092c0dc1da373f59f292d7cf86b84ef (patch) | |
tree | 803d0987c970a9999786d048c22d5263ad7c9842 | |
parent | 2409cfa6133421536d8cdb782f6ec7f24dd0e881 (diff) |
Lint
-rw-r--r-- | src/screens/moments/CameraScreen.tsx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/screens/moments/CameraScreen.tsx b/src/screens/moments/CameraScreen.tsx index 36ce3999..8ec4ff98 100644 --- a/src/screens/moments/CameraScreen.tsx +++ b/src/screens/moments/CameraScreen.tsx @@ -3,15 +3,10 @@ import {useBottomTabBarHeight} from '@react-navigation/bottom-tabs'; import {RouteProp} from '@react-navigation/core'; import {useFocusEffect} from '@react-navigation/native'; import {StackNavigationProp} from '@react-navigation/stack'; -import React, { - createRef, - useCallback, - useEffect, - useRef, - useState, -} from 'react'; +import React, {createRef, useCallback, useEffect, useState} from 'react'; import {StyleSheet, TouchableOpacity, View} from 'react-native'; import {CameraType, FlashMode, RNCamera} from 'react-native-camera'; +import {AnimatedCircularProgress} from 'react-native-circular-progress'; import CloseIcon from '../../assets/ionicons/close-outline.svg'; import { FlashButton, @@ -20,12 +15,10 @@ import { SaveButton, TaggSquareButton, } from '../../components'; +import {TAGG_PURPLE} from '../../constants'; import {MainStackParams} from '../../routes'; import {HeaderHeight, normalize, SCREEN_WIDTH} from '../../utils'; import {showGIFFailureAlert, takePicture, takeVideo} from '../../utils/camera'; -import {AnimatedCircularProgress} from 'react-native-circular-progress'; -import {Easing} from 'react-native-reanimated'; -import {TAGG_LIGHT_PURPLE, TAGG_PURPLE} from '../../constants'; type CameraScreenRouteProps = RouteProp<MainStackParams, 'CameraScreen'>; export type CameraScreenNavigationProps = StackNavigationProp< |