diff --git a/lib/view/common/pushable_listview.dart b/lib/view/common/pushable_listview.dart index 4c48f9986..13f282c54 100644 --- a/lib/view/common/pushable_listview.dart +++ b/lib/view/common/pushable_listview.dart @@ -154,13 +154,12 @@ class PushableListView extends HookConsumerWidget { const SizedBox.shrink(), ], ), - Center( - child: Padding( - padding: const EdgeInsets.only(top: 10, bottom: 10), - child: IconButton( - onPressed: nextLoad, - icon: const Icon(Icons.keyboard_arrow_down), - ), + InkWell( + onTap: nextLoad, + child: Container( + alignment: Alignment.center, + height: 60, + child: const Icon(Icons.keyboard_arrow_down), ), ), ], diff --git a/lib/view/time_line_page/misskey_time_line.dart b/lib/view/time_line_page/misskey_time_line.dart index b154909fc..bd6fd606c 100644 --- a/lib/view/time_line_page/misskey_time_line.dart +++ b/lib/view/time_line_page/misskey_time_line.dart @@ -125,9 +125,14 @@ class MisskeyTimeline extends HookConsumerWidget { } return Center( - child: IconButton( - onPressed: downDirectionLoad, - icon: const Icon(Icons.keyboard_arrow_down), + child: InkWell( + onTap: downDirectionLoad, + child: Container( + alignment: Alignment.center, + constraints: const BoxConstraints(maxWidth: 800), + height: 60, + child: const Icon(Icons.keyboard_arrow_down), + ), ), ); } diff --git a/test/test_util/widget_tester_extension.dart b/test/test_util/widget_tester_extension.dart index f3d15a833..fc8b3a3d0 100644 --- a/test/test_util/widget_tester_extension.dart +++ b/test/test_util/widget_tester_extension.dart @@ -15,8 +15,8 @@ extension WidgetTestExtension on WidgetTester { await tap( find.descendant( of: find.descendant( - of: find.byType(Center), - matching: find.byType(IconButton).hitTestable(), + of: find.byType(InkWell), + matching: find.byType(Container).hitTestable(), ), matching: find.byIcon(Icons.keyboard_arrow_down), ),