π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] fix trash API wiring
Priyanshu Dangare5405ad456579
diff --git a/mobile/apps/photos/lib/utils/delete_file_util.dart b/mobile/apps/photos/lib/utils/delete_file_util.dartindex eb581e529a..750744e03b 100644--- a/mobile/apps/photos/lib/utils/delete_file_util.dart+++ b/mobile/apps/photos/lib/utils/delete_file_util.dart@@ -292,8 +292,10 @@ Future<List<EnteFile>> deleteFilesOnDeviceOnly(return deletedFiles;}-Future<bool> deleteFromTrash(BuildContext context, List<EnteFile> files) async {- final trashFiles = files.map((file) => file as EnteTrashFile).toList();+Future<bool> deleteFromEnteTrash(+ BuildContext context,+ List<EnteTrashFile> trashFiles,+) async {bool didDeletionStart = false;final actionResult = await showBottomSheetComponent<ButtonResult>(context: context,