π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[photos] Enable Android device trash for all users
Priyanshu Dangaree13509013fcd
diff --git a/mobile/apps/photos/lib/utils/delete_file_util.dart b/mobile/apps/photos/lib/utils/delete_file_util.dartindex 09a9108043..58c73e1f7a 100644--- a/mobile/apps/photos/lib/utils/delete_file_util.dart+++ b/mobile/apps/photos/lib/utils/delete_file_util.dart@@ -47,8 +47,7 @@ _tryTrashOrDeleteFiles(List<String> assetIDs) async {return (deletedIDs: <String>{}, trashedIDs: <String>{});}try {- if (flagService.internalUser &&- Platform.isAndroid &&+ if (Platform.isAndroid &&!await isAndroidSDKVersionLowerThan(android11SDKINT)) {final assets = (await Future.wait(assetIDs.map(AssetEntity.fromId),