π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] unawait network call when accepting suggestion
laurenspriemefb1170b44c9
diff --git a/mobile/lib/services/entity_service.dart b/mobile/lib/services/entity_service.dartindex ba4b4a6368..6ffe87358b 100644--- a/mobile/lib/services/entity_service.dart+++ b/mobile/lib/services/entity_service.dart@@ -61,7 +61,7 @@ class EntityService {}) async {final key = await getOrCreateEntityKey(type);final encryptedKeyData = await CryptoUtil.encryptChaCha(- utf8.encode(plainText) as Uint8List,+ utf8.encode(plainText),key,);final String encryptedData =diff --git a/mobile/lib/services/machine_learning/face_ml/person/person_service.dart b/mobile/lib/services/machine_learning/face_ml/person/person_service.dartindex 509862abc8..da62899538 100644--- a/mobile/lib/services/machine_learning/face_ml/person/person_service.dart+++ b/mobile/lib/services/machine_learning/face_ml/person/person_service.dart@@ -1,3 +1,4 @@+import "dart:async" show unawaited;import "dart:convert";import "package:flutter/foundation.dart";@@ -102,10 +103,12 @@ class PersonService {faces: faceIds.toSet(),);personData.assigned!.add(clusterInfo);- await entityService.addOrUpdate(- EntityType.person,- json.encode(personData.toJson()),- id: personID,+ unawaited(+ entityService.addOrUpdate(+ EntityType.person,+ json.encode(personData.toJson()),+ id: personID,+ ),);await faceMLDataDB.assignClusterToPerson(personID: personID,