Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix OTP display order for Hebrew locale

Prateek Sunalb82743a3eaaa
diff --git a/mobile/apps/auth/lib/ui/code_widget.dart b/mobile/apps/auth/lib/ui/code_widget.dart
index 597afc1e3c..317032d194 100644
--- a/mobile/apps/auth/lib/ui/code_widget.dart
+++ b/mobile/apps/auth/lib/ui/code_widget.dart
@@ -346,6 +346,7 @@ class _CodeWidgetState extends State<CodeWidget> {
_getFormattedCode(value),
style: TextStyle(fontSize: widget.isCompactMode ? 14 : 24),
maxLines: 1,
+ textDirection: TextDirection.ltr,
),
);
},
@@ -375,6 +376,7 @@ class _CodeWidgetState extends State<CodeWidget> {
fontSize: widget.isCompactMode ? 12 : 18,
color: Colors.grey,
),
+ textDirection: TextDirection.ltr,
),
);
},