Skip to content

Commit

Permalink
feat: make favorite icon a heart
Browse files Browse the repository at this point in the history
A yellow star has poor contrast on Light theme,
and the heart for favorite is common in other apps.
Merrit committed Sep 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e93b97e commit e4fb5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/apps_list/widgets/window_tile.dart
Original file line number Diff line number Diff line change
@@ -124,8 +124,8 @@ class _FavoriteButton extends StatelessWidget {

return IconButton(
icon: Icon(
(isFavorite) ? Icons.star : Icons.star_border,
color: (isFavorite) ? Colors.yellow : null,
(isFavorite) ? Icons.favorite : Icons.favorite_border,
color: (isFavorite) ? Colors.red : null,
),
onPressed: () => appsListCubit.setFavorite(window, !isFavorite),
tooltip: (isFavorite)

0 comments on commit e4fb5e5

Please sign in to comment.