π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Use sqlite async for getting all indexed fileIDs
laurenspriem9c09af54b38e
diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dartindex 62dc8f8f55..4ec8ce4eb8 100644--- a/mobile/lib/face/db.dart+++ b/mobile/lib/face/db.dart@@ -125,8 +125,8 @@ class FaceMLDataDB {/// Returns a map of fileID to the indexed ML versionFuture<Map<int, int>> getIndexedFileIds() async {- final db = await instance.database;- final List<Map<String, dynamic>> maps = await db.rawQuery(+ final db = await instance.sqliteAsyncDB;+ final List<Map<String, dynamic>> maps = await db.getAll('SELECT $fileIDColumn, $mlVersionColumn FROM $facesTable',);final Map<int, int> result = {};