We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a24aa8 commit 408f937Copy full SHA for 408f937
source/views/components/nav-buttons/favorite.js
@@ -15,7 +15,8 @@ export class FavoriteButton extends React.PureComponent<Props> {
15
render() {
16
// (ios|md)-heart(-outline)
17
const iconPlatform = Platform.OS === 'ios' ? 'ios' : 'md'
18
- const icon = `${iconPlatform}-heart`
+ const icon =
19
+ `${iconPlatform}-heart` + (this.props.favorited ? '' : '-empty')
20
21
return (
22
<Touchable
0 commit comments