Skip to content

armgit / ente

Public Imported from GitHub
0

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

Reduce apply code focus delay

Neeraj Gupta11064ffc1ada
diff --git a/mobile/apps/photos/lib/ui/growth/apply_code_sheet.dart b/mobile/apps/photos/lib/ui/growth/apply_code_sheet.dart
index ca2947f7c8..4778e42d84 100644
--- a/mobile/apps/photos/lib/ui/growth/apply_code_sheet.dart
+++ b/mobile/apps/photos/lib/ui/growth/apply_code_sheet.dart
@@ -52,7 +52,7 @@ class _ApplyCodeContentState extends State<_ApplyCodeContent> {
_codeFocusNode = FocusNode();
_controller.addListener(_onTextChanged);
WidgetsBinding.instance.addPostFrameCallback((_) {
- Future.delayed(const Duration(milliseconds: 150), () {
+ Future.delayed(const Duration(milliseconds: 75), () {
if (mounted) {
_codeFocusNode.requestFocus();
}