From c1fb9e5c4ba7b06620d444ab22ef3af2b64b0b7d Mon Sep 17 00:00:00 2001 From: Juan Date: Sun, 8 May 2022 15:59:16 -0700 Subject: [PATCH] chore: add search input action to search fields (#404) --- lib/components/channel_search_bottom_sheet.dart | 1 + lib/components/drawer/sliver_search_bar.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/components/channel_search_bottom_sheet.dart b/lib/components/channel_search_bottom_sheet.dart index 33875672e..a63c2ff81 100644 --- a/lib/components/channel_search_bottom_sheet.dart +++ b/lib/components/channel_search_bottom_sheet.dart @@ -34,6 +34,7 @@ class _ChannelSearchBottomSheetWidgetState ), const SizedBox(height: 16), TextField( + textInputAction: TextInputAction.search, autofocus: true, controller: _searchController, decoration: InputDecoration( diff --git a/lib/components/drawer/sliver_search_bar.dart b/lib/components/drawer/sliver_search_bar.dart index d40ecbc24..b2d8f9d01 100644 --- a/lib/components/drawer/sliver_search_bar.dart +++ b/lib/components/drawer/sliver_search_bar.dart @@ -26,6 +26,7 @@ class SliverSearchBarWidget extends StatelessWidget { const SizedBox(width: 24.0), Expanded( child: TextField( + textInputAction: TextInputAction.search, decoration: const InputDecoration( hintText: 'Search viewers', isDense: true,