π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Refine album share badges and icons (#10694)
Aman Raj8eecbc2293a7
diff --git a/mobile/apps/photos/lib/ui/cast/choose.dart b/mobile/apps/photos/lib/ui/cast/choose.dartindex 8b02ae3bc6..cf012c4e11 100644--- a/mobile/apps/photos/lib/ui/cast/choose.dart+++ b/mobile/apps/photos/lib/ui/cast/choose.dart@@ -1,4 +1,5 @@import "package:flutter/material.dart";+import "package:hugeicons/hugeicons.dart";import "package:photos/generated/l10n.dart";import "package:photos/l10n/l10n.dart";import "package:photos/theme/ente_theme.dart";@@ -32,7 +33,10 @@ class _CastChooseDialogState extends State<CastChooseDialog> {const SizedBox(height: 12),ButtonWidget(labelText: AppLocalizations.of(context).autoPair,- icon: Icons.cast_outlined,+ iconWidget: const HugeIcon(+ icon: HugeIcons.strokeRoundedTvSmart,+ size: 20,+ ),buttonType: ButtonType.neutral,buttonSize: ButtonSize.large,shouldStickToDarkTheme: true,@@ -49,8 +53,10 @@ class _CastChooseDialogState extends State<CastChooseDialog> {ButtonWidget(labelText: AppLocalizations.of(context).pairWithPin,buttonType: ButtonType.neutral,- // icon for pairing with TV manually- icon: Icons.tv_outlined,+ iconWidget: const HugeIcon(+ icon: HugeIcons.strokeRoundedTv02,+ size: 20,+ ),buttonSize: ButtonSize.large,isInAlert: true,diff --git a/mobile/apps/photos/lib/ui/collections/album/row_item.dart b/mobile/apps/photos/lib/ui/collections/album/row_item.dartindex 1a932d4a33..76f4445727 100644--- a/mobile/apps/photos/lib/ui/collections/album/row_item.dart+++ b/mobile/apps/photos/lib/ui/collections/album/row_item.dart@@ -389,8 +389,11 @@ class _AlbumRowSharePillContent extends StatelessWidget {@overrideWidget build(BuildContext context) {- final displayCount = min(sharees.length, _limitCountTo);final hasMore = sharees.length > _limitCountTo;+ final displayCount = min(+ sharees.length,+ hasMore ? _limitCountTo - 1 : _limitCountTo,+ );const type = AvatarType.xs;final double avatarSize = getAvatarSize(type);final double overlapPadding = getOverlapPadding(type);@@ -425,6 +428,7 @@ class _AlbumRowSharePillContent extends StatelessWidget {sharees.length - displayCount,type: moreCountTypeFromAvatarType(type),thumbnailView: true,+ backgroundColor: getUserAvatarColor(context, sharees[displayCount]),),),);diff --git a/mobile/apps/photos/lib/ui/components/buttons/button_widget.dart b/mobile/apps/photos/lib/ui/components/buttons/button_widget.dartindex cc1a043ba9..c1cf2ab0c2 100644--- a/mobile/apps/photos/lib/ui/components/buttons/button_widget.dart+++ b/mobile/apps/photos/lib/ui/components/buttons/button_widget.dart@@ -292,13 +292,7 @@ class _ButtonChildWidgetState extends State<ButtonChildWidget> {),),),- widget.icon == null- ? widget.iconWidget ?? const SizedBox.shrink()- : Icon(- widget.icon,- size: 20,- color: iconColor,- ),+ _buttonIcon(),],): Builder(@@ -317,14 +311,7 @@ class _ButtonChildWidgetState extends State<ButtonChildWidget> {: MainAxisSize.min,mainAxisAlignment: MainAxisAlignment.center,children: [- widget.icon == null- ? widget.iconWidget ??- const SizedBox.shrink()- : Icon(- widget.icon,- size: 20,- color: iconColor,- ),+ _buttonIcon(),widget.icon == null &&widget.iconWidget == null ||widget.labelText == null@@ -428,6 +415,19 @@ class _ButtonChildWidgetState extends State<ButtonChildWidget> {}}+ Widget _buttonIcon() {+ if (widget.icon != null) {+ return Icon(widget.icon, size: 20, color: iconColor);+ }+ if (widget.iconWidget == null) {+ return const SizedBox.shrink();+ }+ return IconTheme.merge(+ data: IconThemeData(size: 20, color: iconColor),+ child: widget.iconWidget!,+ );+ }+bool get _shouldRegisterGestures =>!widget.isDisabled && executionState == ExecutionState.idle;diff --git a/mobile/apps/photos/lib/ui/components/info_item_widget.dart b/mobile/apps/photos/lib/ui/components/info_item_widget.dartindex 169a7634be..a821833673 100644--- a/mobile/apps/photos/lib/ui/components/info_item_widget.dart+++ b/mobile/apps/photos/lib/ui/components/info_item_widget.dart@@ -5,7 +5,8 @@ import 'package:photos/ui/components/buttons/icon_button_widget.dart';///https://www.figma.com/file/SYtMyLBs5SAOkTbfMMzhqt/ente-Visual-Design?node-id=8113-59605&t=OMX5f5KdDJYWSQQN-4class InfoItemWidget extends StatelessWidget {- final IconData leadingIcon;+ final IconData? leadingIcon;+ final Widget? leadingIconWidget;final VoidCallback? editOnTap;final String? title;final Widget? endSection;@@ -14,7 +15,8 @@ class InfoItemWidget extends StatelessWidget {final bool biggerSpinner;final VoidCallback? onTap;const InfoItemWidget({- required this.leadingIcon,+ this.leadingIcon,+ this.leadingIconWidget,this.editOnTap,this.title,this.endSection,@@ -23,7 +25,7 @@ class InfoItemWidget extends StatelessWidget {this.biggerSpinner = false,this.onTap,super.key,- });+ }) : assert(leadingIcon != null || leadingIconWidget != null);@overrideWidget build(BuildContext context) {@@ -85,6 +87,7 @@ class InfoItemWidget extends StatelessWidget {children: [IconButtonWidget(icon: leadingIcon,+ iconWidget: leadingIconWidget,iconButtonType: IconButtonType.secondary,),Flexible(diff --git a/mobile/apps/photos/lib/ui/sharing/album_share_info_widget.dart b/mobile/apps/photos/lib/ui/sharing/album_share_info_widget.dartindex 711b9bf539..0e78af2164 100644--- a/mobile/apps/photos/lib/ui/sharing/album_share_info_widget.dart+++ b/mobile/apps/photos/lib/ui/sharing/album_share_info_widget.dart@@ -50,6 +50,7 @@ class AlbumSharesIcons extends StatelessWidget {sharees.length - displayCount,type: moreCountTypeFromAvatarType(type),thumbnailView: removeBorder,+ backgroundColor: getUserAvatarColor(context, sharees[displayCount]),),),);diff --git a/mobile/apps/photos/lib/ui/sharing/more_count_badge.dart b/mobile/apps/photos/lib/ui/sharing/more_count_badge.dartindex 3abdbffd5a..be12380f8d 100644--- a/mobile/apps/photos/lib/ui/sharing/more_count_badge.dart+++ b/mobile/apps/photos/lib/ui/sharing/more_count_badge.dart@@ -9,38 +9,49 @@ class MoreCountWidget extends StatelessWidget {final MoreCountType type;final bool thumbnailView;final int count;+ final Color? backgroundColor;+ final Color? textColor;const MoreCountWidget(this.count, {super.key,this.type = MoreCountType.medium,this.thumbnailView = false,+ this.backgroundColor,+ this.textColor,});@overrideWidget build(BuildContext context) {final colorScheme = getEnteColorScheme(context);final displayChar = "+$count";- final Color decorationColor = thumbnailView- ? backgroundElevated2Light- : colorScheme.backgroundElevated2;+ final Color decorationColor =+ backgroundColor ??+ (thumbnailView+ ? backgroundElevated2Light+ : colorScheme.backgroundElevated2);final avatarStyle = getAvatarStyle(context, type);final double size = avatarStyle.item1;- final TextStyle textStyle = thumbnailView- ? avatarStyle.item2.copyWith(color: textFaintLight)- : avatarStyle.item2.copyWith(color: Colors.white);+ final resolvedTextColor =+ textColor ??+ (thumbnailView && backgroundColor == null+ ? textBaseLight+ : Colors.white);+ final TextStyle textStyle = avatarStyle.item2.copyWith(+ color: resolvedTextColor,+ );return Container(- padding: const EdgeInsets.all(0.5),+ padding: thumbnailView ? EdgeInsets.zero : const EdgeInsets.all(0.5),decoration: BoxDecoration(shape: BoxShape.circle,- border: Border.all(- color: thumbnailView- ? strokeMutedDark- : getEnteColorScheme(context).strokeMuted,- width: 1.0,- strokeAlign: BorderSide.strokeAlignOutside,- ),+ border: thumbnailView+ ? null+ : Border.all(+ color: getEnteColorScheme(context).strokeMuted,+ width: 1.0,+ strokeAlign: BorderSide.strokeAlignOutside,+ ),),child: SizedBox(height: size,diff --git a/mobile/apps/photos/lib/ui/sharing/user_avator_widget.dart b/mobile/apps/photos/lib/ui/sharing/user_avator_widget.dartindex c969a8b15b..14091c172d 100644--- a/mobile/apps/photos/lib/ui/sharing/user_avator_widget.dart+++ b/mobile/apps/photos/lib/ui/sharing/user_avator_widget.dart@@ -17,6 +17,20 @@ import 'package:tuple/tuple.dart';enum AvatarType { xs, small, medium, regular, large, huge }+Color getUserAvatarColor(BuildContext context, User user) {+ if (user.email == Configuration.instance.getEmail()) {+ return Colors.black;+ }+ final colorScheme = getEnteColorScheme(context);+ final resolvedDisplayName = resolveDisplayName(user);+ final colorIndex = user.email.contains("unknown.com")+ ? resolvedDisplayName.length+ : user.email.length;+ return colorScheme.avatarColors[colorIndex.remainder(+ colorScheme.avatarColors.length,+ )];+}+class UserAvatarWidget extends StatefulWidget {final User user;final AvatarType type;@@ -204,23 +218,13 @@ class _FirstLetterCircularAvatarStateextends State<_FirstLetterCircularAvatar> {@overrideWidget build(BuildContext context) {- final colorScheme = getEnteColorScheme(context);final resolvedDisplayName = resolveDisplayName(widget.user);final displayChar = resolvedDisplayName.isEmpty? ((widget.user.email.isEmpty)? " ": widget.user.email.substring(0, 1)): resolvedDisplayName.substring(0, 1);- Color decorationColor;- if (widget.user.email == Configuration.instance.getEmail()) {- decorationColor = Colors.black;- } else {- final colorIndex = widget.user.email.contains("unknown.com")- ? resolvedDisplayName.length- : widget.user.email.length;- decorationColor = colorScheme- .avatarColors[colorIndex.remainder(colorScheme.avatarColors.length)];- }+ final decorationColor = getUserAvatarColor(context, widget.user);final avatarStyle = getAvatarStyle(context, widget.type);final double size = avatarStyle.item1;@@ -287,7 +291,6 @@ class FirstLetterUserAvatar extends StatefulWidget {}class _FirstLetterUserAvatarState extends State<FirstLetterUserAvatar> {- final currentUserEmail = Configuration.instance.getEmail();late User user;@override@@ -308,21 +311,11 @@ class _FirstLetterUserAvatarState extends State<FirstLetterUserAvatar> {@overrideWidget build(BuildContext context) {- final colorScheme = getEnteColorScheme(context);final resolvedDisplayName = resolveDisplayName(user);final displayChar = resolvedDisplayName.isEmpty? ((user.email.isEmpty) ? " " : user.email.substring(0, 1)): resolvedDisplayName.substring(0, 1);- Color decorationColor;- if (user.email == currentUserEmail) {- decorationColor = Colors.black;- } else {- final colorIndex = user.email.contains("unknown.com")- ? resolvedDisplayName.length- : user.email.length;- decorationColor = colorScheme- .avatarColors[colorIndex.remainder(colorScheme.avatarColors.length)];- }+ final decorationColor = getUserAvatarColor(context, user);return Container(color: decorationColor,child: Center(diff --git a/mobile/apps/photos/lib/ui/tabs/albums_tab.dart b/mobile/apps/photos/lib/ui/tabs/albums_tab.dartindex 024f913c61..75b499f6ed 100644--- a/mobile/apps/photos/lib/ui/tabs/albums_tab.dart+++ b/mobile/apps/photos/lib/ui/tabs/albums_tab.dart@@ -398,7 +398,7 @@ class _AlbumsTabState extends State<AlbumsTab>padding: const EdgeInsets.only(left: 8, right: 8, top: 16),child: Text(title,- style: TextStyles.large.copyWith(color: colors.textLight),+ style: TextStyles.large.copyWith(color: colors.textBase),),);}diff --git a/mobile/apps/photos/lib/ui/viewer/file_details/exif_item_widgets.dart b/mobile/apps/photos/lib/ui/viewer/file_details/exif_item_widgets.dartindex bfbf89058d..3cae984df4 100644--- a/mobile/apps/photos/lib/ui/viewer/file_details/exif_item_widgets.dart+++ b/mobile/apps/photos/lib/ui/viewer/file_details/exif_item_widgets.dart@@ -1,5 +1,6 @@import "package:exif_reader/exif_reader.dart";import "package:flutter/material.dart";+import "package:hugeicons/hugeicons.dart";import "package:photos/generated/l10n.dart";import 'package:photos/models/file/file.dart';import "package:photos/theme/colors.dart";@@ -17,7 +18,7 @@ class BasicExifItemWidget extends StatelessWidget {final subtitleTextTheme = getEnteTextTheme(context).miniMuted;return InfoItemWidget(key: const ValueKey("Basic EXIF"),- leadingIcon: Icons.camera_outlined,+ leadingIconWidget: const HugeIcon(icon: HugeIcons.strokeRoundedLicense),title: exifData["takenOnDevice"] ?? "--",subtitleSection: Future.value([if (exifData["fNumber"] != null)@@ -56,7 +57,7 @@ class _AllExifItemWidgetState extends State<AllExifItemWidget> {@overrideWidget build(BuildContext context) {return InfoItemWidget(- leadingIcon: Icons.text_snippet_outlined,+ leadingIconWidget: const HugeIcon(icon: HugeIcons.strokeRoundedLicense),title: AppLocalizations.of(context).exif,subtitleSection: _exifButton(context, widget.file, widget.exif),onTap: _onTap,diff --git a/mobile/apps/photos/lib/ui/viewer/file_details/file_properties_item_widget.dart b/mobile/apps/photos/lib/ui/viewer/file_details/file_properties_item_widget.dartindex c58eb3f288..2820629db8 100644--- a/mobile/apps/photos/lib/ui/viewer/file_details/file_properties_item_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/file_details/file_properties_item_widget.dart@@ -1,5 +1,6 @@import "package:ente_pure_utils/ente_pure_utils.dart";import "package:flutter/material.dart";+import "package:hugeicons/hugeicons.dart";import 'package:path/path.dart' as path;import "package:photos/models/file/extensions/file_props.dart";import 'package:photos/models/file/file.dart';@@ -31,9 +32,11 @@ class _FilePropertiesItemWidgetState extends State<FilePropertiesItemWidget> {Widget build(BuildContext context) {return InfoItemWidget(key: const ValueKey("File properties"),- leadingIcon: widget.isImage- ? Icons.photo_outlined- : Icons.video_camera_back_outlined,+ leadingIconWidget: HugeIcon(+ icon: widget.isImage+ ? HugeIcons.strokeRoundedImage01+ : HugeIcons.strokeRoundedVideo02,+ ),title:path.basenameWithoutExtension(widget.file.displayName) +path.extension(widget.file.displayName).toUpperCase(),diff --git a/mobile/apps/photos/lib/ui/viewer/file_details/location_tags_widget.dart b/mobile/apps/photos/lib/ui/viewer/file_details/location_tags_widget.dartindex 6a40ecffc7..62f2f41a96 100644--- a/mobile/apps/photos/lib/ui/viewer/file_details/location_tags_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/file_details/location_tags_widget.dart@@ -5,6 +5,7 @@ import "package:ente_pure_utils/ente_pure_utils.dart";import "package:flutter/material.dart";import "package:flutter_animate/flutter_animate.dart";import "package:flutter_map/flutter_map.dart";+import "package:hugeicons/hugeicons.dart";import "package:latlong2/latlong.dart";import "package:photos/core/event_bus.dart";import "package:photos/events/location_tag_updated_event.dart";@@ -35,7 +36,6 @@ class LocationTagsWidget extends StatefulWidget {class _LocationTagsWidgetState extends State<LocationTagsWidget> {String? title;- IconData? leadingIcon;late Future<List<Widget>> locationTagChips;late StreamSubscription<LocationTagUpdatedEvent> _locTagUpdateListener;VoidCallback? onTap;@@ -70,7 +70,9 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {switchOutCurve: Curves.easeInOutExpo,child: InfoItemWidget(key: ValueKey(title),- leadingIcon: leadingIcon ?? Icons.pin_drop_outlined,+ leadingIconWidget: const HugeIcon(+ icon: HugeIcons.strokeRoundedLocation01,+ ),title: title,subtitleSection: locationTagChips,onTap: onTap,@@ -110,7 +112,6 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {if (mounted) {setState(() {title = AppLocalizations.of(context).location;- leadingIcon = Icons.pin_drop_outlined;onTap = null;});}@@ -124,7 +125,6 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {if (mounted) {setState(() {title = AppLocalizations.of(context).location;- leadingIcon = Icons.pin_drop_outlined;onTap = null;});}diff --git a/mobile/apps/photos/lib/ui/viewer/file_details/video_exif_item.dart b/mobile/apps/photos/lib/ui/viewer/file_details/video_exif_item.dartindex 44e1e1446a..58f1b7334b 100644--- a/mobile/apps/photos/lib/ui/viewer/file_details/video_exif_item.dart+++ b/mobile/apps/photos/lib/ui/viewer/file_details/video_exif_item.dart@@ -1,4 +1,5 @@import "package:flutter/material.dart";+import "package:hugeicons/hugeicons.dart";import "package:modal_bottom_sheet/modal_bottom_sheet.dart";import "package:photos/generated/l10n.dart";import "package:photos/models/ffmpeg/ffprobe_props.dart";@@ -29,7 +30,7 @@ class _VideoProbeInfoState extends State<VideoExifRowItem> {@overrideWidget build(BuildContext context) {return InfoItemWidget(- leadingIcon: Icons.text_snippet_outlined,+ leadingIconWidget: const HugeIcon(icon: HugeIcons.strokeRoundedLicense),title: AppLocalizations.of(context).videoInfo,subtitleSection: _exifButton(context, widget.file, widget.props),onTap: _onTap,diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dartindex 268d47d5aa..798c10ebc1 100644--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart@@ -1,13 +1,11 @@import 'dart:async';import 'dart:io';-import 'dart:math' as math;import "package:ente_components/ente_components.dart";import 'package:ente_pure_utils/ente_pure_utils.dart';-import "package:flutter/cupertino.dart";import "package:flutter/foundation.dart";import 'package:flutter/material.dart';-import "package:flutter_svg/flutter_svg.dart";+import "package:hugeicons/hugeicons.dart";import "package:local_auth/local_auth.dart";import 'package:logging/logging.dart';import 'package:photos/core/configuration.dart';@@ -466,7 +464,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {actions.add(_buildPopupMenuAction<AlbumPopupAction>(tooltip: strings.sort,- icon: const Icon(Icons.sort_rounded),+ icon: const HugeIcon(icon: HugeIcons.strokeRoundedSorting01),optionsBuilder: () {return [EntePopupMenuOption(@@ -498,7 +496,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {actions.add(IconButtonComponent(tooltip: strings.addFiles,- icon: const Icon(Icons.add_photo_alternate_outlined),+ icon: const HugeIcon(icon: HugeIcons.strokeRoundedImageAdd01),variant: IconButtonComponentVariant.primary,shouldSurfaceExecutionStates: false,onTap: () async {@@ -512,10 +510,10 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {actions.add(IconButtonComponent(tooltip: strings.share,- icon: Icon(- isQuickLink && (widget.collection!.hasLink)- ? Icons.link_outlined- : Icons.adaptive.share,+ icon: HugeIcon(+ icon: isQuickLink && (widget.collection!.hasLink)+ ? HugeIcons.strokeRoundedLink02+ : HugeIcons.strokeRoundedShare08,),variant: IconButtonComponentVariant.primary,shouldSurfaceExecutionStates: false,@@ -536,13 +534,10 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {actions.add(_buildPopupMenuAction<AlbumPopupAction>(tooltip: strings.more,- icon: const Icon(Icons.more_vert_outlined),+ icon: const HugeIcon(icon: HugeIcons.strokeRoundedMoreVertical),optionsBuilder: () => _buildOverflowMenuOptions(strings: strings,iconColor: colorScheme.contentLight,- autoAddIconColor: EnteTheme.isDark(context)- ? Colors.white- : Colors.black,userId: userId,isArchived: isArchived,isHidden: isHidden,@@ -671,7 +666,6 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_buildOverflowMenuOptions({required AppLocalizations strings,required Color iconColor,- required Color autoAddIconColor,required int userId,required bool isArchived,required bool isHidden,@@ -690,8 +684,10 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_menuOption(AlbumPopupAction.rename,isQuickLink ? strings.convertToAlbum : strings.renameAlbum,- _menuIcon(- isQuickLink ? Icons.photo_album_outlined : Icons.edit,+ _menuHugeIcon(+ isQuickLink+ ? HugeIcons.strokeRoundedAlbum02+ : HugeIcons.strokeRoundedPencilEdit01,iconColor,),),@@ -699,56 +695,58 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_menuOption(AlbumPopupAction.setCover,strings.setCover,- _menuIcon(Icons.image_outlined, iconColor),+ _menuHugeIcon(HugeIcons.strokeRoundedImage01, iconColor),),if (galleryType.showMap())_menuOption(AlbumPopupAction.map,strings.map,- _menuIcon(Icons.map_outlined, iconColor),+ _menuHugeIcon(HugeIcons.strokeRoundedLocation01, iconColor),),if (galleryType.canSort())_menuOption(AlbumPopupAction.sort,strings.sortAlbumsBy,- _menuIcon(Icons.sort_outlined, iconColor),+ _menuHugeIcon(HugeIcons.strokeRoundedSorting01, iconColor),),if (galleryType == GalleryType.uncategorized)_menuOption(AlbumPopupAction.cleanUncategorized,strings.cleanUncategorized,- _menuIcon(Icons.crop_original_outlined, iconColor),+ _menuHugeIcon(HugeIcons.strokeRoundedClean, iconColor),),if (galleryType.canPin())_menuOption(AlbumPopupAction.pinAlbum,widget.collection!.isPinned ? strings.unpin : strings.pin,- widget.collection!.isPinned- ? _menuIcon(CupertinoIcons.pin_slash, iconColor)- : Transform.rotate(- angle: 45 * math.pi / 180,- child: _menuIcon(CupertinoIcons.pin, iconColor),- ),+ _menuHugeIcon(+ widget.collection!.isPinned+ ? HugeIcons.strokeRoundedPinOff+ : HugeIcons.strokeRoundedPin,+ iconColor,+ ),),if (galleryType == GalleryType.locationTag)_menuOption(AlbumPopupAction.editLocation,strings.editLocation,- _menuIcon(Icons.edit_outlined, iconColor),+ _menuHugeIcon(HugeIcons.strokeRoundedLocation01, iconColor),),if (galleryType == GalleryType.locationTag)_menuOption(AlbumPopupAction.deleteLocation,strings.deleteLocation,- _menuIcon(Icons.delete_outline, warning500),+ _menuHugeIcon(HugeIcons.strokeRoundedDelete01, warning500),labelColor: warning500,),if (isArchived || (galleryType.canArchive() && !isHidden))_menuOption(AlbumPopupAction.ownedArchive,isArchived ? strings.unarchiveAlbum : strings.archiveAlbum,- _menuIcon(- isArchived ? Icons.unarchive : Icons.archive_outlined,+ _menuHugeIcon(+ isArchived+ ? HugeIcons.strokeRoundedUnarchive03+ : HugeIcons.strokeRoundedArchive03,iconColor,),),@@ -756,10 +754,10 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_menuOption(AlbumPopupAction.ownedHide,isHidden ? strings.unhide : strings.hide,- _menuIcon(+ _menuHugeIcon(isHidden- ? Icons.visibility_outlined- : Icons.visibility_off_outlined,+ ? HugeIcons.strokeRoundedView+ : HugeIcons.strokeRoundedViewOffSlash,iconColor,),),@@ -767,21 +765,16 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_menuOption(AlbumPopupAction.galleryGuestView,strings.guestView,- SvgPicture.asset(- "assets/icons/guest_view_icon.svg",- width: 20,- height: 20,- colorFilter: ColorFilter.mode(iconColor, BlendMode.srcIn),- ),+ _menuHugeIcon(HugeIcons.strokeRoundedIncognito, iconColor),),if (widget.collection != null && castService.isSupported)_menuOption(AlbumPopupAction.castAlbum,strings.castAlbum,- _menuIcon(+ _menuHugeIcon(castService.getActiveSessions().isNotEmpty- ? Icons.cast_connected_rounded- : Icons.cast_outlined,+ ? HugeIcons.strokeRoundedTvSmart+ : HugeIcons.strokeRoundedTv02,iconColor,),),@@ -789,21 +782,16 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_menuOption(AlbumPopupAction.autoAddPhotos,hasAutoAddPeople ? strings.editAutoAddPeople : strings.autoAddPeople,- Image.asset(- hasAutoAddPeople- ? "assets/edit-auto-add-people.png"- : "assets/auto-add-people.png",- width: 20,- height: 20,- color: autoAddIconColor,- ),+ _menuHugeIcon(HugeIcons.strokeRoundedUserAdd01, iconColor),),if (galleryType.canDelete())_menuOption(isQuickLink ? AlbumPopupAction.removeLink : AlbumPopupAction.delete,isQuickLink ? strings.removeLink : strings.deleteAlbum,- _menuIcon(- isQuickLink ? Icons.remove_circle_outline : Icons.delete_outline,+ _menuHugeIcon(+ isQuickLink+ ? HugeIcons.strokeRoundedLinkBackward+ : HugeIcons.strokeRoundedDelete01,iconColor,),),@@ -811,12 +799,12 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_menuOption(AlbumPopupAction.shareePinAlbum,widget.collection!.hasShareePinned() ? strings.unpin : strings.pin,- widget.collection!.hasShareePinned()- ? _menuIcon(CupertinoIcons.pin_slash, iconColor)- : Transform.rotate(- angle: 45 * math.pi / 180,- child: _menuIcon(CupertinoIcons.pin, iconColor),- ),+ _menuHugeIcon(+ widget.collection!.hasShareePinned()+ ? HugeIcons.strokeRoundedPinOff+ : HugeIcons.strokeRoundedPin,+ iconColor,+ ),),if (galleryType == GalleryType.sharedCollection)_menuOption(@@ -824,10 +812,10 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {widget.collection!.hasShareeArchived()? strings.unarchiveAlbum: strings.archiveAlbum,- _menuIcon(+ _menuHugeIcon(widget.collection!.hasShareeArchived()- ? Icons.unarchive- : Icons.archive_outlined,+ ? HugeIcons.strokeRoundedUnarchive03+ : HugeIcons.strokeRoundedArchive03,iconColor,),),@@ -835,10 +823,10 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_menuOption(AlbumPopupAction.sharedHide,widget.collection!.hasShareeHidden() ? strings.unhide : strings.hide,- _menuIcon(+ _menuHugeIcon(widget.collection!.hasShareeHidden()- ? Icons.visibility_outlined- : Icons.visibility_off_outlined,+ ? HugeIcons.strokeRoundedView+ : HugeIcons.strokeRoundedViewOffSlash,iconColor,),),@@ -846,23 +834,20 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {_menuOption(AlbumPopupAction.leave,strings.leaveAlbum,- _menuIcon(Icons.logout, iconColor),+ _menuHugeIcon(HugeIcons.strokeRoundedLogout05, iconColor),),if (galleryType == GalleryType.localFolder && !_isICloudSharedAlbum)_menuOption(AlbumPopupAction.freeUpSpace,strings.freeUpDeviceSpace,- _menuIcon(Icons.delete_sweep_outlined, iconColor),+ _menuHugeIcon(HugeIcons.strokeRoundedCleaningBucket, iconColor),),if (galleryType == GalleryType.sharedPublicCollection &&(widget.collection?.isDownloadEnabledForPublicLink() ?? false))_menuOption(AlbumPopupAction.downloadAlbum,strings.download,- _menuIcon(- Platform.isAndroid ? Icons.download : Icons.cloud_download_outlined,- iconColor,- ),+ _menuHugeIcon(HugeIcons.strokeRoundedDownload01, iconColor),),];}@@ -881,8 +866,8 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {);}- Widget _menuIcon(IconData icon, Color color) {- return Icon(icon, size: IconSizes.small, color: color);+ Widget _menuHugeIcon(List<List<dynamic>> icon, Color color) {+ return HugeIcon(icon: icon, size: IconSizes.small, color: color);}Future<void> _downloadPublicAlbumToGallery(List<EnteFile>? files) async {