From f3a42695e53be9de3b49a580d21a226c0a90f3aa Mon Sep 17 00:00:00 2001 From: lucien144 Date: Wed, 15 Mar 2023 18:31:13 +0100 Subject: [PATCH] fix: don't hide Travolta when keyboard's up #374 --- lib/components/search/search_notfound.dart | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/lib/components/search/search_notfound.dart b/lib/components/search/search_notfound.dart index b0b85c6..cc61641 100644 --- a/lib/components/search/search_notfound.dart +++ b/lib/components/search/search_notfound.dart @@ -7,18 +7,20 @@ class SearchNotFound extends StatelessWidget { @override Widget build(BuildContext context) { return Expanded( - child: Container( - child: Column( + child: Container( + padding: EdgeInsets.only(bottom: MediaQuery.of(context).viewInsets.bottom * .8), + child: Column( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - Container(), - Text( - L.GENERAL_EMPTY, - textAlign: TextAlign.center, - ), - Image.asset('travolta.gif') + Container(), + Text( + L.GENERAL_EMPTY, + textAlign: TextAlign.center, + ), + Image.asset('travolta.gif') ], + ), ), - )); + ); } }