From 1f227b51cfbff4f132844f8fa703e9ea5ebd5780 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Fri, 21 May 2021 21:33:48 -0400 Subject: Clean up styles --- src/screens/profile/CaptionScreen.tsx | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'src/screens/profile/CaptionScreen.tsx') diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 2fe30645..188ccc1f 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -168,7 +168,14 @@ const CaptionScreen: React.FC = ({route, navigation}) => { onChange={setCaption} partTypes={mentionPartTypes('blue')} /> - + navigation.navigate('TagFriendsScreen', { + image: image, + screenType: screenType, + selectedUsers: taggedUsers, + }) + } style={{ marginHorizontal: '5%', marginTop: '3%', @@ -194,17 +201,8 @@ const CaptionScreen: React.FC = ({route, navigation}) => { {taggedList} {taggedList.length > 21 ? '. . .' : ''} - - navigation.navigate('TagFriendsScreen', { - image: image, - screenType: screenType, - selectedUsers: taggedUsers, - }) - }> - - - + + @@ -256,7 +254,10 @@ const styles = StyleSheet.create({ letterSpacing: normalize(0.3), fontWeight: '600', }, - tagFriendsContainer: {flexDirection: 'row', marginTop: '3%'}, + tagFriendsContainer: { + flexDirection: 'row', + marginTop: '3%', + }, }); export default CaptionScreen; -- cgit v1.2.3-70-g09d2