improve ui; update version code

This commit is contained in:
wgh19
2024-06-14 12:22:37 +08:00
parent a03ad12837
commit 21fe14f88b
11 changed files with 236 additions and 211 deletions

View File

@@ -33,6 +33,8 @@ class _SearchPageState extends State<SearchPage> {
int searchType = 0;
final focusNode = FocusNode();
static const searchTypes = [
"Search artwork",
"Search novel",
@@ -100,6 +102,9 @@ 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}',
onChanged: (s) => text = s,