enhancement/too-many-calls #68

Merged
AmineB merged 6 commits from enhancement/too-many-calls into master 2022-09-26 18:26:23 +00:00
Showing only changes of commit 8106faa45c - Show all commits

View File

@ -143,10 +143,13 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener, DIAwar
handleSwipeRefreshLayout()
if (appSettingsService.isItemCachingEnabled()) {
CoroutineScope(Dispatchers.Main).launch {
repository.tryToCacheItemsAndGetNewOnes()
}
}
}
private fun handleSwipeRefreshLayout() {
binding.swipeRefreshLayout.setColorSchemeResources(