π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update favorite selection icons
ashilkn2967cca44d2b
diff --git a/mobile/apps/photos/changes/favorite-selection-icons.md b/mobile/apps/photos/changes/favorite-selection-icons.mdnew file mode 100644index 0000000000..29c2af692c--- /dev/null+++ b/mobile/apps/photos/changes/favorite-selection-icons.md@@ -0,0 +1 @@+- Updated favorite actions to use Ente's star icons.diff --git a/mobile/apps/photos/lib/ui/components/bottom_action_bar/selection_action_button_widget.dart b/mobile/apps/photos/lib/ui/components/bottom_action_bar/selection_action_button_widget.dartindex 514ee9e0c5..9a03d4ff3c 100644--- a/mobile/apps/photos/lib/ui/components/bottom_action_bar/selection_action_button_widget.dart+++ b/mobile/apps/photos/lib/ui/components/bottom_action_bar/selection_action_button_widget.dart@@ -114,7 +114,10 @@ class __BodyState extends State<_Body> {color: foregroundColor,)else- widget.iconWidget!,+ IconTheme(+ data: IconThemeData(size: iconSize, color: foregroundColor),+ child: widget.iconWidget!,+ ),const SizedBox(height: 4),Text(widget.labelText,diff --git a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dartindex e1d963e42a..02e51e47a3 100644--- a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart@@ -1,5 +1,6 @@import "dart:async";+import "package:ente_icons/ente_icons.dart";import "package:ente_pure_utils/ente_pure_utils.dart";import "package:ente_strings/ente_strings.dart";import 'package:flutter/material.dart';@@ -363,7 +364,7 @@ class _FileSelectionActionsWidgetStateif (widget.type.showFavoriteOption()) {items.add(SelectionActionButton(- hugeIcon: HugeIcons.strokeRoundedFavourite,+ iconWidget: const Icon(EnteIcons.favoriteStroke),labelText: context.strings.favorite,onTap: anyUploadedFiles ? _onFavoriteClick : null,shouldShow: ownedFilesCount > 0,@@ -372,7 +373,7 @@ class _FileSelectionActionsWidgetState} else if (widget.type.showUnFavoriteOption()) {items.add(SelectionActionButton(- hugeIcon: HugeIcons.strokeRoundedHeartRemove,+ iconWidget: const Icon(EnteIcons.favoriteFilled),labelText: context.strings.removeFromFavorite,onTap: _onUnFavoriteClick,shouldShow: ownedFilesCount > 0,diff --git a/mobile/packages/ente_icons/config.json b/mobile/packages/ente_icons/config.jsonindex 2d54543490..f70f33514f 100644--- a/mobile/packages/ente_icons/config.json+++ b/mobile/packages/ente_icons/config.json@@ -13,7 +13,7 @@"src": "custom_icons","selected": true,"svg": {- "path": "M424.3 150.3C459.9 81.1 556.7 80.8 594.4 146.5L594.5 146.8 679.1 295.4 847.9 323H848.2C923.6 335.5 955.8 426.7 904 483.7L903.9 483.8 788.6 610.2 814.5 779.1C826.3 855.1 748.9 914.2 678.6 882.1L523 811.7 370.2 888.6C301.5 923.2 222.1 867.6 230.5 791.4L249.4 621.3 129.1 499.8C74.9 445 103.2 352.3 178.3 336.8L345.9 302.2 424.3 150.3ZM522.1 188C516.8 178.7 503.2 178.9 498.3 188.5L401.7 375.9V375.8L195.2 418.4C184.7 420.6 180.7 433.5 188.3 441.2L336.6 591 313.3 800.6C312.3 809.9 320.7 817 329.1 815.4L332.8 814.2 521.1 719.3 713.2 806.3C723 810.7 733.8 802.5 732.2 791.9L700.3 583.5 842.3 427.6C849.5 419.7 845.1 407 834.5 405.2L626.4 371.2 522.1 188Z",+ "path": "M424.3 150.3C459.9 81.1 556.7 80.8 594.4 146.5L594.5 146.8 679.1 295.4 847.9 323H848.2C923.6 335.5 955.8 426.7 904 483.7L903.9 483.8 788.6 610.2 814.5 779.1C826.3 855.1 748.9 914.2 678.6 882.1L523 811.7 370.2 888.6C301.5 923.2 222.1 867.6 230.5 791.4L249.4 621.3 129.1 499.8C74.9 445 103.2 352.3 178.3 336.8L345.9 302.2 424.3 150.3ZM479.4 179.9L401.4 330.9L398.3 336.2L394.7 341.2L390.6 345.9L386.1 350.1L381.2 353.8L375.9 357L370.3 359.7L364.5 361.9L358.5 363.4L192 397.8L188.3 398.7L185.8 399.5L183.6 400.4L179.5 402.5L176 405L172.8 408L170 411.5L167.7 415.3L165.8 419.5L165.1 421.7L164.5 423.9L163.7 428.4L163.5 432.9L163.9 437.3L164.9 441.6L166.4 445.7L168.6 449.7L170 451.7L171.7 453.8L174.3 456.6L293.8 577.3L297.9 581.9L301.6 586.9L304.7 592.3L307.3 597.9L309.4 603.7L310.8 609.7L311.7 615.8L311.9 622L311.5 628.2L292.7 797.2L292.5 801L292.6 806L293.4 810.5L294.7 814.7L295.6 816.7L297.7 820.5L300.4 824.1L302 825.8L305.4 828.9L307.2 830.3L311.1 832.6L313.2 833.6L317.4 835.2L319.5 835.8L323.8 836.4L328.2 836.5L330.3 836.4L334.8 835.5L339.6 833.9L343.1 832.3L494.9 755.9L500.6 753.4L506.4 751.4L512.5 750.1L518.6 749.4L524.8 749.2L531 749.7L537.1 750.8L543 752.5L548.8 754.8L703.5 824.8L707.2 826.3L712 827.7L714.3 828.1L718.7 828.5L720.9 828.4L725.2 827.9L729.5 826.7L731.6 825.9L735.7 823.9L739.5 821.4L743 818.3L744.6 816.7L747.4 813.1L748.6 811.2L750.6 807.3L752 803.2L752.9 798.8L753.2 794L753 791.4L752.6 787.6L726.8 619.7L726.2 613.5L726.2 607.3L726.8 601.2L728 595.1L729.7 589.2L732.1 583.4L735 578L738.5 572.9L742.4 568.1L857.2 442.3L859.5 439.5L861.1 437.4L862.4 435.3L864.4 431.2L865.8 427.1L866.6 422.8L866.8 418.4L866.4 413.9L865.5 409.5L863.9 405.1L863 403L860.7 399.1L858 395.6L854.9 392.5L851.4 389.8L847.5 387.6L845.4 386.7L840.9 385.3L836.9 384.5L669 357.1L663 355.8L657.1 353.9L651.4 351.4L646 348.4L640.9 344.9L636.2 340.9L631.9 336.4L628.1 331.5L624.8 326.3L540 177.4L537.3 173.3L534.1 169.8L532.5 168.3L528.9 165.7L525 163.6L520.8 162L516.4 160.9L511.8 160.4L507.2 160.4L502.7 161.1L500.6 161.6L496.4 163.1L492.6 165L489.1 167.4L485.8 170.5L484.3 172.2L481.3 176.4Z","width": 1000},"search": [@@ -133,4 +133,4 @@]}]-}\ No newline at end of file+}diff --git a/mobile/packages/ente_icons/fonts/EnteIcons.ttf b/mobile/packages/ente_icons/fonts/EnteIcons.ttfindex b4bdefb025..cf7da13703 100644Binary files a/mobile/packages/ente_icons/fonts/EnteIcons.ttf and b/mobile/packages/ente_icons/fonts/EnteIcons.ttf differ