diff --git a/src/components/basicUIElements/view/textWithIcon/textWithIconView.js b/src/components/basicUIElements/view/textWithIcon/textWithIconView.js index 06a13534c..7d11a5112 100644 --- a/src/components/basicUIElements/view/textWithIcon/textWithIconView.js +++ b/src/components/basicUIElements/view/textWithIcon/textWithIconView.js @@ -7,7 +7,7 @@ const TextWithIcon = ({ iconName, text, isClickable, onPress, iconStyle, iconType, }) => ( - {(isClickable || onPress) && text ? ( + {isClickable || onPress ? ( onPress && onPress()}> @@ -15,12 +15,10 @@ const TextWithIcon = ({ ) : ( - text && ( - - - {text} - - ) + + + {text} + )} ); diff --git a/src/components/header/view/headerStyles.js b/src/components/header/view/headerStyles.js index 3db3b438d..f9c245caf 100644 --- a/src/components/header/view/headerStyles.js +++ b/src/components/header/view/headerStyles.js @@ -1,4 +1,5 @@ import EStyleSheet from 'react-native-extended-stylesheet'; +import { Platform } from 'react-native'; export default EStyleSheet.create({ container: { @@ -6,7 +7,7 @@ export default EStyleSheet.create({ width: '$deviceWidth', backgroundColor: '$primaryBackgroundColor', flex: 1, - maxHeight: 80, + maxHeight: Platform.OS === 'ios' ? 95 : 80, }, containerReverse: { justifyContent: 'space-between', diff --git a/src/components/profileSummary/view/profileSummaryView.js b/src/components/profileSummary/view/profileSummaryView.js index 0344da5eb..f3ecf1630 100644 --- a/src/components/profileSummary/view/profileSummaryView.js +++ b/src/components/profileSummary/view/profileSummaryView.js @@ -48,7 +48,6 @@ class ProfileSummaryView extends Component { hoursVP, intl, isDarkTheme, - isFavorite, isFollowing, isLoggedIn, isMuted, @@ -76,13 +75,13 @@ class ProfileSummaryView extends Component { const isColumn = rowLength && DEVICE_WIDTH / rowLength <= 15; const followButtonIcon = !isFollowing ? 'user-follow' : 'user-unfollow'; const ignoreButtonIcon = !isMuted ? 'ban' : 'minus'; - + return ( - - - + {location && } + {link && } + {date && }