Fix: hide the nothing here indicator when refreshing home page

This commit is contained in:
Bnyro 2023-06-27 10:55:20 +02:00
parent bb0ae23bb8
commit 1cffeeb9c9

View File

@ -84,6 +84,7 @@ class HomeFragment : Fragment() {
private fun fetchHomeFeed() {
lifecycleScope.launch {
repeatOnLifecycle(Lifecycle.State.CREATED) {
binding.nothingHere.isGone = true
val defaultItems = resources.getStringArray(R.array.homeTabItemsValues)
val visibleItems = PreferenceHelper
.getStringSet(PreferenceKeys.HOME_TAB_CONTENT, defaultItems.toSet())