π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] support system trash file tracking
Priyanshu Dangare25537fafd6c8
diff --git a/mobile/apps/photos/lib/models/file/file.dart b/mobile/apps/photos/lib/models/file/file.dartindex 9e4e390c8b..e79af357df 100644--- a/mobile/apps/photos/lib/models/file/file.dart+++ b/mobile/apps/photos/lib/models/file/file.dart@@ -3,6 +3,7 @@ import 'package:logging/logging.dart';import 'package:photo_manager/photo_manager.dart';import 'package:photos/core/constants.dart';import 'package:photos/models/file/file_type.dart';+import "package:photos/models/file/trash_file.dart";import 'package:photos/models/location/location.dart';import "package:photos/models/metadata/file_magic.dart";import "package:photos/module/download/file_url.dart";@@ -116,6 +117,9 @@ class EnteFile {if (localID == null) {return Future.value(null);}+ if (this is TrashFile && (this as TrashFile).systemTrashID != null) {+ return AssetEntity.fromId((this as TrashFile).systemTrashID!.toString());+ }return AssetEntity.fromId(localID!);}