From 7ba1bf283d7dbe8e1da53d1beb8fff14064ad891 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Thu, 5 Aug 2021 08:24:58 -0700 Subject: Add new check icon --- src/assets/icons/radio-check-green.svg | 1 + src/screens/profile/ChoosingCategoryScreen.tsx | 23 ++++++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 src/assets/icons/radio-check-green.svg (limited to 'src') diff --git a/src/assets/icons/radio-check-green.svg b/src/assets/icons/radio-check-green.svg new file mode 100644 index 00000000..39516999 --- /dev/null +++ b/src/assets/icons/radio-check-green.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/screens/profile/ChoosingCategoryScreen.tsx b/src/screens/profile/ChoosingCategoryScreen.tsx index 5e29d4de..e025dce6 100644 --- a/src/screens/profile/ChoosingCategoryScreen.tsx +++ b/src/screens/profile/ChoosingCategoryScreen.tsx @@ -1,6 +1,6 @@ import {useBottomTabBarHeight} from '@react-navigation/bottom-tabs'; import {RouteProp, useNavigation} from '@react-navigation/native'; -import React, {FC, Fragment, useEffect, useState} from 'react'; +import React, {FC, useEffect, useState} from 'react'; import { Image, ScrollView, @@ -12,8 +12,8 @@ import { import LinearGradient from 'react-native-linear-gradient'; import {useDispatch, useSelector} from 'react-redux'; import BackIcon from '../../assets/icons/back-arrow.svg'; -import FrontArrow from '../../assets/icons/front-arrow.svg'; import PlusIcon from '../../assets/icons/plus-icon.svg'; +import RadioCheck from '../../assets/icons/radio-check-green.svg'; import {SearchBackground, TaggSquareButton} from '../../components'; import {TAGGS_GRADIENT, TAGG_DARK_PURPLEISH_BLUE} from '../../constants'; import {headerBarOptions, MainStackParams} from '../../routes'; @@ -110,13 +110,17 @@ const ChoosingCategoryScreen: React.FC = ({ {selectedCategory === title ? ( - + ) : ( - + )} @@ -201,7 +205,8 @@ const styles = StyleSheet.create({ letterSpacing: normalize(0.3), fontWeight: '600', alignSelf: 'center', - marginLeft: normalize(25), + marginHorizontal: SCREEN_WIDTH * 0.03, + width: SCREEN_WIDTH * 0.7, }, row: { flexDirection: 'row', -- cgit v1.2.3-70-g09d2