aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-19 16:18:44 -0400
committerIvan Chen <ivan@tagg.id>2021-04-19 16:18:44 -0400
commit9458d888cc03fc61c13db69492682ac268991887 (patch)
tree953f3b29708bc1f5b918bb403e59d4e70af58f4f /src/screens
parentc477ebfd00e3898814721b8316a47cf14f1740c4 (diff)
cleaned up TAGG_LIGHT_BLUE_2 color constant
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/profile/AccountType.tsx3
-rw-r--r--src/screens/profile/CaptionScreen.tsx5
-rw-r--r--src/screens/profile/IndividualMoment.tsx4
3 files changed, 5 insertions, 7 deletions
diff --git a/src/screens/profile/AccountType.tsx b/src/screens/profile/AccountType.tsx
index 60ed0668..8a3f7775 100644
--- a/src/screens/profile/AccountType.tsx
+++ b/src/screens/profile/AccountType.tsx
@@ -10,6 +10,7 @@ import {
import {SafeAreaView} from 'react-native-safe-area-context';
import {useDispatch, useSelector} from 'react-redux';
import {Background} from '../../components';
+import {TAGG_LIGHT_BLUE_2} from '../../constants';
import {updateProfileVisibility} from '../../services';
import {NO_PROFILE} from '../../store/initialStates';
import {RootState} from '../../store/rootReducer';
@@ -60,7 +61,7 @@ const AccountType: React.FC = () => {
/>
{!isLoading && (
<Switch
- trackColor={{false: 'red', true: '#6EE7E7'}}
+ trackColor={{false: 'red', true: TAGG_LIGHT_BLUE_2}}
thumbColor={'white'}
ios_backgroundColor="transparent"
style={styles.switchStyles}
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index 998897e2..282857d6 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -13,11 +13,12 @@ import {
} from 'react-native';
import {Button} from 'react-native-elements';
import {useDispatch, useSelector} from 'react-redux';
-import {MainStackParams} from '../../routes';
import {SearchBackground, TaggBigInput} from '../../components';
import {CaptionScreenHeader} from '../../components/';
import TaggLoadingIndicator from '../../components/common/TaggLoadingIndicator';
+import {TAGG_LIGHT_BLUE_2} from '../../constants';
import {ERROR_UPLOAD, SUCCESS_PIC_UPLOAD} from '../../constants/strings';
+import {MainStackParams} from '../../routes';
import {postMoment} from '../../services';
import {
loadUserMoments,
@@ -137,7 +138,7 @@ const styles = StyleSheet.create({
},
shareButtonTitle: {
fontWeight: 'bold',
- color: '#6EE7E7',
+ color: TAGG_LIGHT_BLUE_2,
},
header: {
marginVertical: 20,
diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx
index 871d62bf..515cbacf 100644
--- a/src/screens/profile/IndividualMoment.tsx
+++ b/src/screens/profile/IndividualMoment.tsx
@@ -114,10 +114,6 @@ const styles = StyleSheet.create({
flex: 1,
paddingBottom: 0,
},
- shareButtonTitle: {
- fontWeight: 'bold',
- color: '#6EE7E7',
- },
content: {
flex: 9,
},