Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Enable optimized Rust OCR for internal iOS users

laurenspriem52a6ee876595
diff --git a/mobile/apps/photos/lib/services/machine_learning/ocr_service.dart b/mobile/apps/photos/lib/services/machine_learning/ocr_service.dart
index fc0f05a1ec..6882462617 100644
--- a/mobile/apps/photos/lib/services/machine_learning/ocr_service.dart
+++ b/mobile/apps/photos/lib/services/machine_learning/ocr_service.dart
@@ -52,7 +52,7 @@ class OcrService {
if (!_rustOcrEnabled()) {
return OcrBackendKind.legacy;
}
- if (_isAndroid) {
+ if (_isAndroid || _isIOS) {
return OcrBackendKind.rust;
}
if (_isIOS) {