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, + ), + ), + ), ), ), ),