Skip to content

Commit 4a6787f

Browse files
authored
[Podcast Feed Update] Hide pull to refresh behind feature flag (#3557)
1 parent 07d6650 commit 4a6787f

File tree

1 file changed

+2
-0
lines changed
  • modules/features/podcasts/src/main/java/au/com/shiftyjelly/pocketcasts/podcasts/view/podcast

1 file changed

+2
-0
lines changed

modules/features/podcasts/src/main/java/au/com/shiftyjelly/pocketcasts/podcasts/view/podcast/PodcastFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,8 @@ class PodcastFragment : BaseFragment(), Toolbar.OnMenuItemClickListener {
627627

628628
loadData()
629629

630+
binding.swipeRefreshLayout.isEnabled = FeatureFlag.isEnabled(Feature.PODCAST_FEED_UPDATE)
631+
630632
binding.toolbar.let {
631633
it.inflateMenu(R.menu.podcast_menu)
632634
it.setOnMenuItemClickListener(this)

0 commit comments

Comments
 (0)