From 5063c9f3bd2c7d6270524b3e64a13085983364dc Mon Sep 17 00:00:00 2001 From: Luke Knoble <35696371+Desync-o-tron@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:00:15 -0400 Subject: [PATCH] keyboard test --- lib/exercises/ex_search_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/exercises/ex_search_page.dart b/lib/exercises/ex_search_page.dart index cc208f5..cbc502e 100644 --- a/lib/exercises/ex_search_page.dart +++ b/lib/exercises/ex_search_page.dart @@ -96,7 +96,7 @@ class _ExerciseSearchPageState extends State { )); 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),