π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Disable semantic search on iOS
vishnukvmdb7e434c5ec47
diff --git a/lib/services/semantic_search/semantic_search_service.dart b/lib/services/semantic_search/semantic_search_service.dartindex 1fe8946a6e..906731a4ed 100644--- a/lib/services/semantic_search/semantic_search_service.dart+++ b/lib/services/semantic_search/semantic_search_service.dart@@ -1,5 +1,6 @@import "dart:async";import "dart:collection";+import "dart:io";import "package:clip_ggml/clip_ggml.dart";import "package:computer/computer.dart";@@ -37,6 +38,9 @@ class SemanticSearchService {PendingQuery? _nextQuery;Future<void> init(SharedPreferences preferences) async {+ if (Platform.isIOS) {+ return;+ }await EmbeddingStore.instance.init(preferences);await ModelLoader.instance.init(_computer);Bus.instance.on<SyncStatusUpdate>().listen((event) async {@@ -56,6 +60,9 @@ class SemanticSearchService {}Future<List<EnteFile>> search(String query) async {+ if (Platform.isIOS) {+ return [];+ }if (_ongoingRequest == null) {_ongoingRequest = getMatchingFiles(query).then((result) {_ongoingRequest = null;diff --git a/plugins/clip_ggml b/plugins/clip_ggmlindex f20142dd32..180283b375 160000--- a/plugins/clip_ggml+++ b/plugins/clip_ggml@@ -1 +1 @@-Subproject commit f20142dd32f4002f8e89c89e8b441555b2bd4f22+Subproject commit 180283b37598f273f5dd525407488e9bc160e5a5