Minor fix

This commit is contained in:
tom5079
2020-11-29 15:23:16 +09:00
parent 3feae80359
commit 26c5e07f04
4 changed files with 13 additions and 11 deletions

View File

@@ -98,8 +98,6 @@ class MainActivity :
binding = MainActivityBinding.inflate(layoutInflater)
setContentView(binding.root)
setSource(sources.values.first())
if (intent.action == Intent.ACTION_VIEW) {
intent.dataString?.let { url ->
restore(url,
@@ -340,6 +338,7 @@ class MainActivity :
setupSearchBar()
setupRecyclerView()
setSource(sources.values.first())
query()
}