chore(web/mobile): use Heart Icon & small icon changes (#2397)

This commit is contained in:
Steffen Auer
2023-05-08 21:01:39 +02:00
committed by GitHub
parent b5a4aef829
commit 861de7f8b3
12 changed files with 34 additions and 27 deletions

View File

@@ -98,7 +98,7 @@ class AlbumViewerThumbnail extends HookConsumerWidget {
left: 10,
bottom: 5,
child: Icon(
Icons.star,
Icons.favorite,
color: Colors.white,
size: 18,
),

View File

@@ -221,7 +221,7 @@ class LibraryPage extends HookConsumerWidget {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
buildLibraryNavButton(
"library_page_favorites".tr(), Icons.star_border, () {
"library_page_favorites".tr(), Icons.favorite_border, () {
AutoRouter.of(context).navigate(const FavoritesRoute());
}),
const SizedBox(width: 12.0),

View File

@@ -35,7 +35,7 @@ class TopControlAppBar extends HookConsumerWidget {
onFavorite();
},
icon: Icon(
isFavorite ? Icons.star : Icons.star_border,
isFavorite ? Icons.favorite : Icons.favorite_border,
color: Colors.grey[200],
),
);

View File

@@ -135,7 +135,7 @@ class ThumbnailImage extends HookConsumerWidget {
left: 10,
bottom: 5,
child: Icon(
Icons.star,
Icons.favorite,
color: Colors.white,
size: 18,
),

View File

@@ -44,7 +44,7 @@ class ControlBottomAppBar extends ConsumerWidget {
},
),
ControlBoxButton(
iconData: Icons.star_rounded,
iconData: Icons.favorite_border_rounded,
label: "control_bottom_app_bar_favorite".tr(),
onPressed: () {
onFavorite();

View File

@@ -200,7 +200,7 @@ class SearchPage extends HookConsumerWidget {
),
ListTile(
leading: Icon(
Icons.star_outline,
Icons.favorite_border,
color: categoryIconColor,
),
title:

View File

@@ -40,8 +40,8 @@ class TabControllerPage extends ConsumerWidget {
right: 4,
bottom: 4,
),
icon: const Icon(Icons.photo_outlined),
selectedIcon: const Icon(Icons.photo),
icon: const Icon(Icons.photo_library_outlined),
selectedIcon: const Icon(Icons.photo_library),
label: const Text('tab_controller_nav_photos').tr(),
),
NavigationRailDestination(
@@ -81,10 +81,10 @@ class TabControllerPage extends ConsumerWidget {
NavigationDestination(
label: 'tab_controller_nav_photos'.tr(),
icon: const Icon(
Icons.photo_outlined,
Icons.photo_library_outlined,
),
selectedIcon: Icon(
Icons.photo,
Icons.photo_library,
color: Theme.of(context).primaryColor,
),
),