fix input

This commit is contained in:
nyne
2024-10-02 16:26:15 +08:00
parent b1e7adb1c5
commit c8d4b3db88
2 changed files with 2 additions and 6 deletions

View File

@@ -33,8 +33,6 @@ class _SearchPageState extends State<SearchPage> {
int searchType = 0;
final focusNode = FocusNode();
static const searchTypes = [
"Search artwork",
"Search novel",
@@ -102,8 +100,6 @@ class _SearchPageState extends State<SearchPage> {
children: [
Expanded(
child: TextBox(
focusNode: focusNode,
autofocus: false,
padding: const EdgeInsets.symmetric(horizontal: 12),
placeholder:
'${searchTypes[searchType].tl} / ${"Open link".tl}',