From 8668e9f8bec4b317b60f57c01fe8fa4411483697 Mon Sep 17 00:00:00 2001 From: klockky Date: Sat, 20 Jun 2026 13:58:14 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=90=20=D0=9D=D0=95=20=D0=9A=D0=9D?= =?UTF-8?q?=D0=9E=D0=9F=D0=9A=D0=90=20=D0=AD=D0=A2=D0=9E!!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/frontend/screens/auth/login_screen.dart | 44 +++++++++++++-------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/lib/frontend/screens/auth/login_screen.dart b/lib/frontend/screens/auth/login_screen.dart index 176c895..15b037d 100644 --- a/lib/frontend/screens/auth/login_screen.dart +++ b/lib/frontend/screens/auth/login_screen.dart @@ -335,23 +335,33 @@ class _LoginScreenState extends State { duration: const Duration(milliseconds: 300), opacity: progress == 1.0 ? 1.0 : 0.0, curve: Curves.easeIn, - child: AnimatedContainer( - duration: const Duration(milliseconds: 300), - transform: Matrix4.translationValues( - progress == 1.0 ? 0 : 20, - 0, - 0, - ), - width: 40, - height: 40, - decoration: BoxDecoration( - color: cs.primaryContainer, - shape: BoxShape.circle, - ), - child: Icon( - Symbols.check, - color: cs.onPrimaryContainer, - size: 24, + child: IgnorePointer( + ignoring: progress < 1.0, + child: AnimatedContainer( + duration: const Duration(milliseconds: 300), + transform: Matrix4.translationValues( + progress == 1.0 ? 0 : 20, + 0, + 0, + ), + width: 40, + height: 40, + decoration: BoxDecoration( + color: cs.primaryContainer, + shape: BoxShape.circle, + ), + clipBehavior: Clip.antiAlias, + child: Material( + color: Colors.transparent, + child: InkWell( + onTap: () => Navigator.pop(context), + child: Icon( + Symbols.check, + color: cs.onPrimaryContainer, + size: 24, + ), + ), + ), ), ), ),