updated icons

This commit is contained in:
Nouman Tahir 2023-01-09 15:28:04 +05:00
parent f7fb27a56f
commit 3f09dfdd08
3 changed files with 11 additions and 12 deletions

View File

@ -21,9 +21,8 @@ export const ActionPanel = ({
onFavouritePress,
onFollowPress,
}: ActionPanelProps) => {
const heartColor = isFavourite ? '$primaryBlue' : '$iconColor';
const followIcon = isFollowing ? 'user-check' : 'user-plus';
const heartColor = isFavourite ? '$primaryRed' : '$iconColor';
const followColor = isFollowing ? '$primaryBlue' : '$iconColor';
return (
<View style={styles.actionPanel}>
@ -37,10 +36,10 @@ export const ActionPanel = ({
/>
) : (
<IconButton
iconType="FontAwesome5"
name={followIcon}
size={20}
color={EStyleSheet.value('$iconColor')}
iconType="MaterialCommunityIcons"
name={'account-plus'}
size={26}
color={EStyleSheet.value(followColor)}
disabled={isFollowing || isLoading}
onPress={onFollowPress}
/>
@ -48,9 +47,9 @@ export const ActionPanel = ({
<IconButton
style={{ marginLeft: 8 }}
iconType="AntDesign"
name="heart"
size={20}
iconType="MaterialCommunityIcons"
name="account-heart"
size={26}
color={EStyleSheet.value(heartColor)}
onPress={onFavouritePress}
/>

View File

@ -61,9 +61,7 @@ export default EStyleSheet.create({
},
listItemIcon: {
color: '$iconColor',
fontSize: 20,
marginRight: 5,
width: 20,
},
listItemText: {
color: '$primaryDarkGray',
@ -89,6 +87,7 @@ export default EStyleSheet.create({
},
itemWrapper: {
flexDirection: 'row',
alignItems:'center',
marginLeft: 55,
},
versionText: {

View File

@ -127,6 +127,7 @@ const SideMenuView = ({
iconType={item.item.iconType ? item.item.iconType : 'SimpleLineIcons'}
style={styles.listItemIcon}
name={item.item.icon}
size={20}
/>
)}
{item.item.username && (