mirror of
https://github.com/stonega/tsacdop
synced 2025-02-13 10:00:49 +01:00
Minor change.
This commit is contained in:
parent
9b957c7b68
commit
b5b947b988
@ -45,7 +45,7 @@ class MyHomePageDelegate extends SearchDelegate<int> {
|
||||
|
||||
Future<SearchEngine> _getSearchEngine() async {
|
||||
final storage = KeyValueStorage(searchEngineKey);
|
||||
final index = await storage.getInt(defaultValue: 1);
|
||||
final index = await storage.getInt(defaultValue: 0);
|
||||
if (_searchEngine == null) {
|
||||
_searchEngine = SearchEngine.values[index];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user