aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screens/profile/CaptionScreen.tsx12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index 4fa81f8c..cd722090 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -8,10 +8,10 @@ import {
KeyboardAvoidingView,
Platform,
StyleSheet,
+ Text,
+ TouchableOpacity,
TouchableWithoutFeedback,
View,
- TouchableOpacity,
- Text,
} from 'react-native';
import {MentionInput} from 'react-native-controlled-mentions';
import {Button} from 'react-native-elements';
@@ -29,7 +29,7 @@ import {
updateProfileCompletionStage,
} from '../../store/actions';
import {RootState} from '../../store/rootReducer';
-import {normalize, SCREEN_WIDTH, StatusBarHeight} from '../../utils';
+import {SCREEN_WIDTH, StatusBarHeight} from '../../utils';
import {mentionPartTypes} from '../../utils/comments';
/**
@@ -57,7 +57,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
useEffect(() => {
setTaggedUsers(selectedUsers ? selectedUsers : []);
- }, selectedUsers);
+ }, [route.params]);
const navigateToProfile = () => {
//Since the logged In User is navigating to own profile, useXId is not required
@@ -181,6 +181,10 @@ const styles = StyleSheet.create({
flex: {
flex: 1,
},
+ tagFriendsTitle: {
+ color: 'white',
+ fontSize: 18,
+ },
});
export default CaptionScreen;