mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-17 18:31:36 +03:00
added muted icon in profile summary
This commit is contained in:
parent
edbcc4f1d6
commit
64ea4f24c6
@ -12,6 +12,7 @@ import get from 'lodash/get';
|
||||
|
||||
// Constants
|
||||
import FastImage from 'react-native-fast-image';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import LIGHT_COVER_IMAGE from '../../../assets/default_cover_image.png';
|
||||
import DARK_COVER_IMAGE from '../../../assets/dark_cover_image.png';
|
||||
|
||||
@ -28,6 +29,7 @@ import { getResizedImage } from '../../../utils/image';
|
||||
// Styles
|
||||
import styles from './profileSummaryStyles';
|
||||
import { TextButton } from '../../buttons';
|
||||
import { Icon } from '../..';
|
||||
|
||||
const DEVICE_WIDTH = Dimensions.get('window').width;
|
||||
|
||||
@ -217,6 +219,15 @@ class ProfileSummaryView extends PureComponent {
|
||||
|
||||
{isLoggedIn && !isOwnProfile ? (
|
||||
<View style={styles.rightIcons}>
|
||||
{isMuted && (
|
||||
<Icon
|
||||
name="volume-mute"
|
||||
color={EStyleSheet.value('$primaryDarkText')}
|
||||
size={24}
|
||||
style={{ marginHorizontal: 12 }}
|
||||
/>
|
||||
)}
|
||||
|
||||
<TouchableOpacity
|
||||
style={styles.followActionWrapper}
|
||||
onPress={() => handleFollowUnfollowUser(!isFollowing)}
|
||||
|
Loading…
Reference in New Issue
Block a user