Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove toast message

laurenspriemf36892c802be
diff --git a/mobile/apps/photos/lib/l10n/intl_en.arb b/mobile/apps/photos/lib/l10n/intl_en.arb
index 98824429da..85df643664 100644
--- a/mobile/apps/photos/lib/l10n/intl_en.arb
+++ b/mobile/apps/photos/lib/l10n/intl_en.arb
@@ -44,7 +44,6 @@
"ocrImageNotFoundError": "Image file not found",
"ocrImageDecodeFailedError": "Could not read image file",
"ocrGenericDetectError": "Could not detect text in image",
- "textCopiedToClipboard": "Text copied to clipboard",
"oops": "Oops",
"somethingWentWrongPleaseTryAgain": "Something went wrong, please try again",
"thisWillLogYouOutOfThisDevice": "This will log you out of this device!",
diff --git a/mobile/apps/photos/lib/ui/viewer/file/text_detection_page.dart b/mobile/apps/photos/lib/ui/viewer/file/text_detection_page.dart
index b07172eaf1..45bb9b86bd 100644
--- a/mobile/apps/photos/lib/ui/viewer/file/text_detection_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/file/text_detection_page.dart
@@ -4,7 +4,6 @@ import 'package:logging/logging.dart';
import 'package:mobile_ocr/mobile_ocr.dart';
import 'package:photos/l10n/l10n.dart';
import 'package:photos/ui/common/loading_widget.dart';
-import 'package:photos/ui/notification/toast.dart';
class TextDetectionPage extends StatefulWidget {
final String imagePath;
@@ -47,7 +46,6 @@ class _TextDetectionPageState extends State<TextDetectionPage> {
),
onTextCopied: (text) {
HapticFeedback.lightImpact();
- showShortToast(context, l10n.textCopiedToClipboard);
},
),
// Back button on top left