Skip to content

Commit

Permalink
fix: don't hide Travolta when keyboard's up #374
Browse files Browse the repository at this point in the history
  • Loading branch information
lucien144 committed Mar 15, 2023
1 parent aa79ce3 commit f3a4269
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions lib/components/search/search_notfound.dart
Expand Up @@ -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: <Widget>[
Container(),
Text(
L.GENERAL_EMPTY,
textAlign: TextAlign.center,
),
Image.asset('travolta.gif')
Container(),
Text(
L.GENERAL_EMPTY,
textAlign: TextAlign.center,
),
Image.asset('travolta.gif')
],
),
),
));
);
}
}

0 comments on commit f3a4269

Please sign in to comment.