mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-17 18:31:36 +03:00
action panel icon updates
This commit is contained in:
parent
d09210f79c
commit
5d4d4781d5
@ -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}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user