mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Merge branch 'v1.3.0-dev'
This commit is contained in:
@@ -187,7 +187,7 @@ class _SearchResultPageState extends State<SearchResultPage> {
|
||||
suggestionsController.remove();
|
||||
}
|
||||
|
||||
var previousOptions = options;
|
||||
var previousOptions = List<String>.from(options);
|
||||
var previousSourceKey = sourceKey;
|
||||
await showDialog(
|
||||
context: context,
|
||||
@@ -196,7 +196,8 @@ class _SearchResultPageState extends State<SearchResultPage> {
|
||||
return _SearchSettingsDialog(state: this);
|
||||
},
|
||||
);
|
||||
if (previousOptions != options || previousSourceKey != sourceKey) {
|
||||
if (!previousOptions.isEqualsTo(options) ||
|
||||
previousSourceKey != sourceKey) {
|
||||
text = checkAutoLanguage(controller.text);
|
||||
controller.currentText = text;
|
||||
setState(() {});
|
||||
|
Reference in New Issue
Block a user