Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: request focus on search for all platforms

Prateek Sunald9fc9e3c7658
diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dart
index 5ba318e2f6..ef61736dd1 100644
--- a/auth/lib/ui/home_page.dart
+++ b/auth/lib/ui/home_page.dart
@@ -362,10 +362,7 @@ class _HomePageState extends State<HomePage> {
_searchText = _textController.text;
// Request focus on the search box
- // For Windows and macOS only for now. This if statement can be removed if other platforms has been tested.
- if (Platform.isWindows || Platform.isMacOS) {
- searchBoxFocusNode.requestFocus();
- }
+ searchBoxFocusNode.requestFocus();
}
_applyFilteringAndRefresh();
},