mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Merge pull request #4126 from Bnyro/master
Fix: hide the nothing here indicator when refreshing home page
This commit is contained in:
commit
b960035a20
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user