Closes #3000: Replace deprecated method

This commit is contained in:
mythio 2019-06-05 05:00:26 +05:30 committed by Jeff Boek
parent 14c581c012
commit 2daa75db2c

View File

@ -24,7 +24,7 @@ class Search(private val context: Context) {
SearchEngineManager().apply {
registerForLocaleUpdates(context)
GlobalScope.launch {
load(context).await()
loadAsync(context).await()
}
defaultSearchEngine = getDefaultSearchEngine(
context,