Skip to content

Commit 408f937

Browse files
committed
Replace outline with empty favorites icon
1 parent 7a24aa8 commit 408f937

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/views/components/nav-buttons/favorite.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export class FavoriteButton extends React.PureComponent<Props> {
1515
render() {
1616
// (ios|md)-heart(-outline)
1717
const iconPlatform = Platform.OS === 'ios' ? 'ios' : 'md'
18-
const icon = `${iconPlatform}-heart`
18+
const icon =
19+
`${iconPlatform}-heart` + (this.props.favorited ? '' : '-empty')
1920

2021
return (
2122
<Touchable

0 commit comments

Comments
 (0)