diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java index c68fab58d..c70e1b7e4 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java @@ -260,8 +260,8 @@ public class DiscoverFragment extends AppKitFragment implements ScrollableToTop, private Fragment getFragmentForPage(int page){ return switch(page){ - case 0 -> hashtagsFragment; - case 1 -> postsFragment; + case 0 -> postsFragment; + case 1 -> hashtagsFragment; case 2 -> newsFragment; case 3 -> accountsFragment; default -> throw new IllegalStateException("Unexpected value: "+page);