1
0
mirror of https://github.com/stonega/tsacdop synced 2025-02-13 10:00:49 +01:00

Minor change.

This commit is contained in:
stonegate 2020-10-01 14:54:32 +08:00
parent 9b957c7b68
commit b5b947b988

View File

@ -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];
}