π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Add custom icon for add to album button
ashilkna16ca17886c9
diff --git a/mobile/apps/photos/lib/ui/viewer/file/file_bottom_bar.dart b/mobile/apps/photos/lib/ui/viewer/file/file_bottom_bar.dartindex a515e2e5b2..bc0de6bc2a 100644--- a/mobile/apps/photos/lib/ui/viewer/file/file_bottom_bar.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/file_bottom_bar.dart@@ -1,6 +1,7 @@import "dart:async";import 'dart:io';+import 'package:ente_icons/ente_icons.dart';import 'package:flutter/cupertino.dart';import 'package:flutter/material.dart';import "package:logging/logging.dart";@@ -148,8 +149,9 @@ class FileBottomBarState extends State<FileBottomBar> {padding: const EdgeInsets.only(top: 12),child: IconButton(icon: const Icon(- Icons.add,+ EnteIcons.addToAlbum,color: Colors.white,+ size: 28,),onPressed: () {final selectedFiles = SelectedFiles();diff --git a/mobile/packages/ente_icons/config.json b/mobile/packages/ente_icons/config.jsonindex cb433b69e8..2e5126fc80 100644--- a/mobile/packages/ente_icons/config.json+++ b/mobile/packages/ente_icons/config.json@@ -47,6 +47,20 @@"search": ["favorite_filled"]+ },+ {+ "uid": "682786737a5140c28507257edef6bd67",+ "css": "add_to_album",+ "code": 59392,+ "src": "custom_icons",+ "selected": true,+ "svg": {+ "path": "M500 315.4C508.2 315.4 516.1 318.7 521.9 324.5 527.7 330.3 531 338.2 531 346.4V469H653.6C661.8 469 669.7 472.3 675.5 478.1 681.3 483.9 684.6 491.8 684.6 500 684.6 508.3 681.3 516.1 675.5 521.9 669.7 527.7 661.8 531 653.6 531H531V653.6C531 661.9 527.7 669.8 521.9 675.6 516.1 681.4 508.2 684.6 500 684.6 491.8 684.6 483.9 681.4 478.1 675.6 472.3 669.8 469 661.9 469 653.6V531H346.4C338.1 531 330.3 527.7 324.5 521.9 318.7 516.1 315.4 508.3 315.3 500 315.3 491.8 318.6 483.9 324.5 478.1 330.3 472.3 338.1 469 346.4 469H469V346.4C469 338.2 472.3 330.3 478.1 324.5 483.9 318.7 491.8 315.4 500 315.4ZM304.9 157C434.5 142.6 565.4 142.6 695.1 157 771.2 165.5 832.7 225.5 841.6 302 857 433.6 857 566.4 841.6 698 832.7 774.5 771.2 834.4 695.1 843 565.4 857.4 434.5 857.4 304.9 843 228.7 834.4 167.3 774.5 158.4 698 143 566.4 143 433.6 158.4 302 167.3 225.5 228.8 165.5 304.9 157ZM688.2 219.1C563.1 205.2 436.9 205.2 311.8 219.1 288.6 221.7 267 232 250.4 248.3 233.8 264.7 223.3 286.2 220.4 309.3 205.6 436 205.6 564 220.4 690.7 223.3 713.8 233.9 735.3 250.4 751.7 267 768 288.6 778.3 311.8 780.9 435.8 794.7 564.2 794.7 688.2 780.9 711.3 778.3 732.9 768 749.5 751.7 766.1 735.3 776.7 713.8 779.5 690.7 794.3 564 794.3 436 779.5 309.3 776.6 286.2 766.1 264.8 749.5 248.4 732.9 232.1 711.3 221.8 688.2 219.2",+ "width": 1000+ },+ "search": [+ "add_to_album"+ ]}]}\ No newline at end of filediff --git a/mobile/packages/ente_icons/fonts/EnteIcons.ttf b/mobile/packages/ente_icons/fonts/EnteIcons.ttfindex 0d00944c95..6c727a140e 100644Binary files a/mobile/packages/ente_icons/fonts/EnteIcons.ttf and b/mobile/packages/ente_icons/fonts/EnteIcons.ttf differdiff --git a/mobile/packages/ente_icons/lib/src/ente_icons.dart b/mobile/packages/ente_icons/lib/src/ente_icons.dartindex aab9b8ca45..3eabcb14f0 100644--- a/mobile/packages/ente_icons/lib/src/ente_icons.dart+++ b/mobile/packages/ente_icons/lib/src/ente_icons.dart@@ -6,6 +6,11 @@ class EnteIcons {static const _kFontFam = 'EnteIcons';static const String _kFontPkg = 'ente_icons';+ static const IconData addToAlbum = IconData(+ 0xe800,+ fontFamily: _kFontFam,+ fontPackage: _kFontPkg,+ );static const IconData favoriteStroke = IconData(0xe806,fontFamily: _kFontFam,