π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove OCR feature flag
laurenspriem941e09aabd89
diff --git a/mobile/apps/photos/lib/ui/viewer/file/text_detection_overlay_button.dart b/mobile/apps/photos/lib/ui/viewer/file/text_detection_overlay_button.dartindex 84099c5d73..1a4109fa55 100644--- a/mobile/apps/photos/lib/ui/viewer/file/text_detection_overlay_button.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/text_detection_overlay_button.dart@@ -8,7 +8,6 @@ import "package:mobile_ocr/mobile_ocr.dart";import "package:photos/models/file/file.dart";import "package:photos/models/file/file_type.dart";import "package:photos/models/file/trash_file.dart";-import "package:photos/service_locator.dart";import "package:photos/ui/viewer/file/text_detection_page.dart";import "package:photos/utils/dialog_util.dart";import "package:photos/utils/file_util.dart";@@ -163,9 +162,6 @@ class _TextDetectionOverlayButtonState}bool _isFileEligible(EnteFile file) {- if (!flagService.textDetection) {- return false;- }return file.fileType == FileType.image ||file.fileType == FileType.livePhoto;}diff --git a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dartindex eb101103a8..272791ab17 100644--- a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart+++ b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart@@ -66,9 +66,6 @@ class FlagService {String get embedUrl => flags.embedUrl;- bool get textDetection =>- internalUser && (Platform.isIOS || Platform.isAndroid);-bool get addToAlbumFeature => internalUser;bool get widgetSharedAlbums => internalUser;