Skip to content

armgit / ente

Public Imported from GitHub
0

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

remove unused pieces of code

ashilkn28b1d736fe40
diff --git a/lib/ui/search_tab.dart b/lib/ui/search_tab.dart
index 466162f6b7..6f4e317346 100644
--- a/lib/ui/search_tab.dart
+++ b/lib/ui/search_tab.dart
@@ -19,9 +19,6 @@ class SearchTab extends StatefulWidget {
class _SearchTabState extends State<SearchTab> {
// Focus nodes are necessary
- String _email = '';
- final textFieldFocusNode = FocusNode();
- final _textController = TextEditingController();
var _searchResults = <SearchResult>[];
@override
@@ -41,14 +38,6 @@ class _SearchTabState extends State<SearchTab> {
: SearchSuggestionsWidget(_searchResults),
);
}
-
- void clearFocus() {
- _textController.clear();
- _email = _textController.text;
-
- textFieldFocusNode.unfocus();
- setState(() => {});
- }
}
class AllSearchSections extends StatefulWidget {