diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-06-03 23:58:22 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-06-03 23:58:22 -0600 |
commit | edfff3f7f95d9e35b6dda420ed8e237fc140f6c4 (patch) | |
tree | a9024f203bb367c3b045c2d10bf466e6c9038868 /lib/widgets/popular_item.dart | |
parent | 5430898e02afc95c24a3caf6a91bb82e71b6ab33 (diff) | |
download | pmsna1-main.tar.gz pmsna1-main.tar.bz2 pmsna1-main.zip |
Color fixes in popular moviesmain
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), ), ], |