π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Remove optional parameter which should never be used
ashilkncd023b621a69
diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dartindex efd24b28db..dd71e4b68c 100644--- a/mobile/lib/db/files_db.dart+++ b/mobile/lib/db/files_db.dart@@ -1161,16 +1161,6 @@ class FilesDB {}Future<void> updateUploadedFileAcrossCollections(EnteFile file) async {- final db = await instance.sqliteAsyncDB;- final setClause = _getSetClauseForFileWithoutCollection(file);- await db.execute(- 'UPDATE $filesTable SET '- '$setClause WHERE $columnUploadedFileID = ?',- [file.uploadedFileID],- );- }-- Future<void> updateUploadedFileAcrossCollectionsNew(EnteFile file) async {final db = await instance.sqliteAsyncDB;final parameterSet = _getParameterSetForFile(file, omitCollectionId: true)..add(file.uploadedFileID);@@ -1832,7 +1822,6 @@ class FilesDB {List<Object?> _getParameterSetForFile(EnteFile file, {- bool omitNullGenId = true,bool omitCollectionId = false,}) {final values = <Object?>[];@@ -1849,7 +1838,7 @@ class FilesDB {longitude = file.pubMagicMetadata!.long;}}- if (file.generatedID != null || !omitNullGenId) {+ if (file.generatedID != null) {values.add(file.generatedID);}values.addAll([