diff --git a/app/src/main/java/com/github/libretube/ui/fragments/SubscriptionsFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/SubscriptionsFragment.kt index f19edd736..97f0db01a 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/SubscriptionsFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/SubscriptionsFragment.kt @@ -103,10 +103,12 @@ class SubscriptionsFragment : DynamicLayoutManagerFragment() { binding.subRefresh.isEnabled = true binding.subProgress.isVisible = true - if (!isCurrentTabSubChannels && viewModel.videoFeed.value == null) { - viewModel.fetchSubscriptions(requireContext()) + if (viewModel.videoFeed.value == null) { viewModel.fetchFeed(requireContext()) } + if (viewModel.subscriptions.value == null) { + viewModel.fetchSubscriptions(requireContext()) + } viewModel.videoFeed.observe(viewLifecycleOwner) { if (!isCurrentTabSubChannels && it != null) showFeed()