Skip to content

Commit 0fdbdcc

Browse files
authored
Merge pull request #340 from BrawlerXull/auto-search-bar
Turned on auto focus in homepage searchbar
2 parents 0e1a9b8 + 6aaeb0b commit 0fdbdcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/views/home/home.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ class _HomePageState extends State<HomePage> {
327327
onChanged: (value) {
328328
storageWidget.search(value);
329329
},
330+
autoFocus: true,
330331

331332
shape: MaterialStateProperty.resolveWith<OutlinedBorder?>(
332333
(Set<MaterialState> states) {

0 commit comments

Comments
 (0)