aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/ToggleButton.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-22 16:30:46 -0500
committerIvan Chen <ivan@tagg.id>2021-01-22 17:14:20 -0500
commitd667654caf1aa4e5f4814fa927e835f13efc0650 (patch)
tree9198e2a5a63384c6eae508c04452c25425ba4685 /src/components/profile/ToggleButton.tsx
parent18e9dc7509d0bf12dfabe7eba67e85553d4bac97 (diff)
changed constant name
Diffstat (limited to 'src/components/profile/ToggleButton.tsx')
-rw-r--r--src/components/profile/ToggleButton.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/profile/ToggleButton.tsx b/src/components/profile/ToggleButton.tsx
index 5d8f7874..236d811c 100644
--- a/src/components/profile/ToggleButton.tsx
+++ b/src/components/profile/ToggleButton.tsx
@@ -1,7 +1,7 @@
import * as React from 'react';
import {StyleSheet, Text} from 'react-native';
import {TouchableOpacity} from 'react-native-gesture-handler';
-import {TAGG_TEXT_LIGHT_BLUE} from '../../constants';
+import {TAGG_LIGHT_BLUE} from '../../constants';
import {getToggleButtonText, SCREEN_WIDTH} from '../../utils';
type ToggleButtonProps = {
@@ -36,7 +36,7 @@ const styles = StyleSheet.create({
alignItems: 'center',
width: SCREEN_WIDTH * 0.4,
height: SCREEN_WIDTH * 0.08,
- borderColor: TAGG_TEXT_LIGHT_BLUE,
+ borderColor: TAGG_LIGHT_BLUE,
borderWidth: 3,
borderRadius: 5,
marginRight: '2%',
@@ -45,10 +45,10 @@ const styles = StyleSheet.create({
fontWeight: 'bold',
},
buttonColor: {
- backgroundColor: TAGG_TEXT_LIGHT_BLUE,
+ backgroundColor: TAGG_LIGHT_BLUE,
},
textColor: {color: 'white'},
buttonColorToggled: {backgroundColor: 'white'},
- textColorToggled: {color: TAGG_TEXT_LIGHT_BLUE},
+ textColorToggled: {color: TAGG_LIGHT_BLUE},
});
export default ToggleButton;