Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fix OTP verification type error

Neeraj Guptaaec28d1e4eff
diff --git a/mobile/apps/photos/lib/ui/account/ott_verification_page.dart b/mobile/apps/photos/lib/ui/account/ott_verification_page.dart
index a859f50e1b..ab4c984432 100644
--- a/mobile/apps/photos/lib/ui/account/ott_verification_page.dart
+++ b/mobile/apps/photos/lib/ui/account/ott_verification_page.dart
@@ -43,6 +43,9 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {
isResettingPasswordScreen: widget.isResetPasswordScreen,
);
}
+ if (!mounted) {
+ return;
+ }
FocusScope.of(context).unfocus();
}