mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Fix auto language filter. Close #171
This commit is contained in:
@@ -116,13 +116,13 @@ class _SearchResultPageState extends State<SearchResultPage> {
|
||||
@override
|
||||
void initState() {
|
||||
sourceKey = widget.sourceKey;
|
||||
text = checkAutoLanguage(widget.text);
|
||||
controller = SearchBarController(
|
||||
currentText: checkAutoLanguage(widget.text),
|
||||
currentText: text,
|
||||
onSearch: search,
|
||||
);
|
||||
options = widget.options ?? const [];
|
||||
validateOptions();
|
||||
text = widget.text;
|
||||
appdata.addSearchHistory(text);
|
||||
suggestionsController = _SuggestionsController(controller);
|
||||
super.initState();
|
||||
|
Reference in New Issue
Block a user