π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Refactor
Neeraj Gupta9b5d6cd5a162
diff --git a/mobile/lib/utils/ml_util.dart b/mobile/lib/utils/ml_util.dartindex c901e8dba3..8203612921 100644--- a/mobile/lib/utils/ml_util.dart+++ b/mobile/lib/utils/ml_util.dart@@ -97,12 +97,14 @@ Future<List<FileMLInstruction>> getFilesForMlIndexing() async {}}for (final EnteFile enteFile in hiddenFiles) {- final skip = _skipAnalysisEnteFile(enteFile);+ if (_skipAnalysisEnteFile(enteFile)) {+ continue;+ }final shouldRunFaces =_shouldRunIndexing(enteFile, faceIndexedFileIDs, faceMlVersion);final shouldRunClip =_shouldRunIndexing(enteFile, clipIndexedFileIDs, clipMlVersion);- if (skip && !shouldRunFaces && !shouldRunClip) {+ if (!shouldRunFaces && !shouldRunClip) {continue;}final instruction = FileMLInstruction(