Skip to content

Commit

Permalink
chore: add search input action to search fields (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
juaoose authored May 8, 2022
1 parent 625929e commit c1fb9e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/components/channel_search_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class _ChannelSearchBottomSheetWidgetState
),
const SizedBox(height: 16),
TextField(
textInputAction: TextInputAction.search,
autofocus: true,
controller: _searchController,
decoration: InputDecoration(
Expand Down
1 change: 1 addition & 0 deletions lib/components/drawer/sliver_search_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c1fb9e5

Please sign in to comment.