diff --git a/Tusker/Screens/Explore/ExploreViewController.swift b/Tusker/Screens/Explore/ExploreViewController.swift index 03580dac..b2244796 100644 --- a/Tusker/Screens/Explore/ExploreViewController.swift +++ b/Tusker/Screens/Explore/ExploreViewController.swift @@ -183,6 +183,9 @@ class ExploreViewController: UIViewController, UICollectionViewDelegate, Collect if mastodonController.instanceFeatures.trends, !snapshot.sectionIdentifiers.contains(.discover) { addDiscoverSection(to: &snapshot) + } else if !mastodonController.instanceFeatures.trends, + snapshot.sectionIdentifiers.contains(.discover) { + snapshot.deleteSections([.discover]) } self.dataSource.apply(snapshot) }