action panel icon updates

This commit is contained in:
noumantahir 2021-09-17 20:42:45 +05:00
parent d09210f79c
commit 5d4d4781d5

View File

@ -15,8 +15,8 @@ interface ActionPanelProps {
export const ActionPanel = ({isFollowing, isFavourite, onFavouritePress, onFollowPress}: ActionPanelProps) => {
const heartColor = isFavourite
? '$primaryRed'
: '$primaryDarkGray'
? '$primaryBlue'
: '$iconColor'
const followIcon = isFollowing
? 'user-check'
@ -28,7 +28,7 @@ export const ActionPanel = ({isFollowing, isFavourite, onFavouritePress, onFollo
iconType='FontAwesome5'
name={followIcon}
size={20}
color={EStyleSheet.value('$primaryDarkGray')}
color={EStyleSheet.value('$iconColor')}
disabled={isFollowing}
onPress={onFollowPress}
/>