Skip to content

Commit

Permalink
fix(screens): Fix incorrect keyboard type on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Dec 12, 2023
1 parent 83ec784 commit aa03f7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/screens/search/search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ class _SearchPageState extends ConsumerState<SearchPage> {
TextFormField(
autofocus: true,
controller: keywordController,
keyboardType: TextInputType.number,
decoration: InputDecoration(
prefixIcon: const Icon(Icons.abc_outlined),
labelText: context.t.searchPage.form.keyword,
Expand All @@ -229,6 +228,7 @@ class _SearchPageState extends ConsumerState<SearchPage> {
),
TextFormField(
controller: authorUidController,
keyboardType: TextInputType.number,
decoration: InputDecoration(
prefixIcon: const Icon(Icons.person_outline),
labelText: context.t.searchPage.form.authorUid,
Expand Down Expand Up @@ -258,6 +258,7 @@ class _SearchPageState extends ConsumerState<SearchPage> {
),
TextFormField(
controller: fidController,
keyboardType: TextInputType.number,
decoration: InputDecoration(
prefixIcon: const Icon(Icons.forum_outlined),
labelText: context.t.searchPage.form.fid,
Expand Down

0 comments on commit aa03f7c

Please sign in to comment.