π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
wrap isar.clear() in isar.writeTxn() to avoid error
ashilkn8259587d4580
diff --git a/lib/db/embeddings_db.dart b/lib/db/embeddings_db.dartindex eeb5b15c66..e39a10d0a0 100644--- a/lib/db/embeddings_db.dart+++ b/lib/db/embeddings_db.dart@@ -23,7 +23,7 @@ class EmbeddingsDB {}Future<void> clearTable() async {- await _isar.clear();+ await _isar.writeTxn(() => _isar.clear());}Future<List<Embedding>> getAll(Model model) async {