π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
use assets to show photos, videos and live photos in file types section
ashilkn9e09f884cb8b
diff --git a/assets/2.0x/type_live.png b/assets/2.0x/type_live.pngnew file mode 100644index 0000000000..762cd162c8Binary files /dev/null and b/assets/2.0x/type_live.png differdiff --git a/assets/2.0x/type_photos.png b/assets/2.0x/type_photos.pngnew file mode 100644index 0000000000..07332e836aBinary files /dev/null and b/assets/2.0x/type_photos.png differdiff --git a/assets/2.0x/type_videos.png b/assets/2.0x/type_videos.pngnew file mode 100644index 0000000000..d56bbb556fBinary files /dev/null and b/assets/2.0x/type_videos.png differdiff --git a/assets/3.0x/type_live.png b/assets/3.0x/type_live.pngnew file mode 100644index 0000000000..a374691284Binary files /dev/null and b/assets/3.0x/type_live.png differdiff --git a/assets/3.0x/type_photos.png b/assets/3.0x/type_photos.pngnew file mode 100644index 0000000000..8a9279a4fcBinary files /dev/null and b/assets/3.0x/type_photos.png differdiff --git a/assets/3.0x/type_videos.png b/assets/3.0x/type_videos.pngnew file mode 100644index 0000000000..99967ea5f6Binary files /dev/null and b/assets/3.0x/type_videos.png differdiff --git a/assets/type_live.png b/assets/type_live.pngnew file mode 100644index 0000000000..f2dbd30953Binary files /dev/null and b/assets/type_live.png differdiff --git a/assets/type_photos.png b/assets/type_photos.pngnew file mode 100644index 0000000000..b83abe698dBinary files /dev/null and b/assets/type_photos.png differdiff --git a/assets/type_videos.png b/assets/type_videos.pngnew file mode 100644index 0000000000..c86768afcbBinary files /dev/null and b/assets/type_videos.png differdiff --git a/lib/ui/viewer/search_tab/file_type_section.dart b/lib/ui/viewer/search_tab/file_type_section.dartindex 2c19b95f1d..2a01ed543c 100644--- a/lib/ui/viewer/search_tab/file_type_section.dart+++ b/lib/ui/viewer/search_tab/file_type_section.dart@@ -129,6 +129,9 @@ class _FileTypeSectionState extends State<FileTypeSection> {class FileTypeRecommendation extends StatelessWidget {static const knownTypesToAssetPath = {+ "PHOTO": "assets/type_photos.png",+ "VIDEO": "assets/type_videos.png",+ "LIVE": "assets/type_live.png","AVI": "assets/type_AVI.png","GIF": "assets/type_GIF.png","HEIC": "assets/type_HEIC.png",@@ -150,7 +153,8 @@ class FileTypeRecommendation extends StatelessWidget {.call().replaceAll(RegExp(r'.$'), "").split(" ")- .first;+ .first+ .toUpperCase();final assetPath = knownTypesToAssetPath[fileType];return Padding(padding: const EdgeInsets.symmetric(horizontal: 8),