diff options
Diffstat (limited to 'lib/widgets/popular_item.dart')
-rw-r--r-- | lib/widgets/popular_item.dart | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/widgets/popular_item.dart b/lib/widgets/popular_item.dart index 3ef32cd..1cc08bd 100644 --- a/lib/widgets/popular_item.dart +++ b/lib/widgets/popular_item.dart @@ -32,12 +32,18 @@ class PopularItem extends StatelessWidget { ), ), popular.hasFavorite - ? IconButton( - icon: const Icon(Icons.favorite), + ? IconButton.filled( + icon: Icon( + Icons.favorite, + color: Theme.of(context).colorScheme.onPrimary, + ), onPressed: () => onFavorited(!popular.hasFavorite), ) - : IconButton( - icon: const Icon(Icons.favorite_outline), + : IconButton.filled( + icon: Icon( + Icons.favorite_outline, + color: Theme.of(context).colorScheme.onPrimary, + ), onPressed: () => onFavorited(!popular.hasFavorite), ), ], |