mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	chore(web/mobile): use Heart Icon & small icon changes (#2397)
This commit is contained in:
		@@ -98,7 +98,7 @@ class AlbumViewerThumbnail extends HookConsumerWidget {
 | 
			
		||||
        left: 10,
 | 
			
		||||
        bottom: 5,
 | 
			
		||||
        child: Icon(
 | 
			
		||||
          Icons.star,
 | 
			
		||||
          Icons.favorite,
 | 
			
		||||
          color: Colors.white,
 | 
			
		||||
          size: 18,
 | 
			
		||||
        ),
 | 
			
		||||
 
 | 
			
		||||
@@ -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),
 | 
			
		||||
 
 | 
			
		||||
@@ -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],
 | 
			
		||||
        ),
 | 
			
		||||
      );
 | 
			
		||||
 
 | 
			
		||||
@@ -135,7 +135,7 @@ class ThumbnailImage extends HookConsumerWidget {
 | 
			
		||||
                left: 10,
 | 
			
		||||
                bottom: 5,
 | 
			
		||||
                child: Icon(
 | 
			
		||||
                  Icons.star,
 | 
			
		||||
                  Icons.favorite,
 | 
			
		||||
                  color: Colors.white,
 | 
			
		||||
                  size: 18,
 | 
			
		||||
                ),
 | 
			
		||||
 
 | 
			
		||||
@@ -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();
 | 
			
		||||
 
 | 
			
		||||
@@ -200,7 +200,7 @@ class SearchPage extends HookConsumerWidget {
 | 
			
		||||
                ),
 | 
			
		||||
                ListTile(
 | 
			
		||||
                  leading: Icon(
 | 
			
		||||
                    Icons.star_outline,
 | 
			
		||||
                    Icons.favorite_border,
 | 
			
		||||
                    color: categoryIconColor,
 | 
			
		||||
                  ),
 | 
			
		||||
                  title:
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
            ),
 | 
			
		||||
          ),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user