Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: clear search text on exit

Prateek Sunal42142514a1e2
diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dart
index fd549f20d8..76cc8d4dc4 100644
--- a/auth/lib/ui/home_page.dart
+++ b/auth/lib/ui/home_page.dart
@@ -206,6 +206,7 @@ class _HomePageState extends State<HomePage> {
_showSearchBox = !_showSearchBox;
if (!_showSearchBox) {
_textController.clear();
+ _searchText = "";
} else {
_searchText = _textController.text;
}