From c8a612186e354345961c55198da0f2f5c35ea309 Mon Sep 17 00:00:00 2001 From: maxxkim Date: Thu, 2 May 2024 17:28:42 +0300 Subject: [PATCH] fix(iOS): Warning fix --- lib/presentation/auth/auth_screen/auth_screen.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/presentation/auth/auth_screen/auth_screen.dart b/lib/presentation/auth/auth_screen/auth_screen.dart index 3fe6ee47..e934925b 100644 --- a/lib/presentation/auth/auth_screen/auth_screen.dart +++ b/lib/presentation/auth/auth_screen/auth_screen.dart @@ -31,9 +31,7 @@ class AuthScreen extends StatelessWidget { resizeToAvoidBottomInset: false, appBar: _buildAppBar(context), body:GestureDetector( - onTap: () { - FocusScope.of(context).unfocus(); // Скрыть клавиатуру - }, + onTap: () => FocusScope.of(context).unfocus(), child: Container( width: double.maxFinite, padding: EdgeInsets.symmetric(horizontal: 16.h, vertical: 9.v),