Skip to content

Commit

Permalink
keyboard test
Browse files Browse the repository at this point in the history
  • Loading branch information
Desync-o-tron committed Oct 9, 2024
1 parent 9e78f54 commit 5063c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exercises/ex_search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class _ExerciseSearchPageState extends State<ExerciseSearchPage> {
));
pageChildren.add(Text('To', style: Theme.of(context).textTheme.bodyMedium));
}
final isKeyboardOpen = MediaQuery.of(context).viewInsets.bottom > 0;
final isKeyboardOpen = MediaQuery.viewInsetsOf(context).bottom > 0; //
if (!isKeyboardOpen) {
pageChildren.addAll([
_exListView(scrollController, filteredExercises),
Expand Down

0 comments on commit 5063c9f

Please sign in to comment.