diff --git a/lib/screens/auth/captcha.native.dart b/lib/screens/auth/captcha.native.dart index 694b4727..2ef1f5c7 100644 --- a/lib/screens/auth/captcha.native.dart +++ b/lib/screens/auth/captcha.native.dart @@ -9,6 +9,7 @@ class CaptchaScreen extends ConsumerWidget { return showModalBottomSheet( context: context, isScrollControlled: true, + isDismissible: false, builder: (context) => const CaptchaScreen(), ); } diff --git a/lib/screens/auth/captcha.web.dart b/lib/screens/auth/captcha.web.dart index 997ede09..fe80717e 100644 --- a/lib/screens/auth/captcha.web.dart +++ b/lib/screens/auth/captcha.web.dart @@ -12,6 +12,7 @@ class CaptchaScreen extends ConsumerStatefulWidget { static Future show(BuildContext context) { return showModalBottomSheet( context: context, + isDismissible: false, isScrollControlled: true, builder: (context) => const CaptchaScreen(), );