π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Remove method inline annotation which doesn 't have noticeable perf improvement + remove commented out code
ashilkn1e7779a81996
diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dartindex 97f76ed8c8..4ff7f20e2b 100644--- a/mobile/lib/db/files_db.dart+++ b/mobile/lib/db/files_db.dart@@ -531,7 +531,6 @@ class FilesDB {);}- @pragma('vm:prefer-inline')Future<void> _batchAndInsertFile(EnteFile file,ConflictAlgorithm conflictAlgorithm,@@ -549,12 +548,6 @@ class FilesDB {if (batchCounter.value == 400) {_logger.info("Inserting batch with genIdNull: $isGenIdNull");await _insertBatch(conflictAlgorithm, columnNames, db, parameterSets);- // await db.executeBatch(- // '''- // INSERT OR ${conflictAlgorithm.name.toUpperCase()} INTO $filesTable($columnNames) VALUES($valuesPlaceholders)- // ''',- // parameterSets,- // );batchCounter.value = 0;parameterSets.clear();}@@ -576,7 +569,6 @@ class FilesDB {);}- @pragma('vm:prefer-inline')Future<int> insert(EnteFile file) async {_logger.info("Inserting $file");final db = await instance.database;