commit - d1b008786a00038f7dd1a3c33fca570064e2074b
commit + f162364437ccf4732ea55244030df14ed5b18a3a
blob - 9b92a5233b290d58eabd4091ac0b2e29a9579bd4
blob + 4c72a314224c3ece3cf4df2cff26c9833c6a0a7e
--- mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java
+++ mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java
pager=view.findViewById(R.id.pager);
Optional<Instance> instance=AccountSessionManager.get(accountID).getInstance();
- disableDiscover=instance.map(Instance::isAkkoma).orElse(false);
+ disableDiscover=instance.map(Instance::isAkkoma).orElse(false) || instance.map(Instance::isMitra).orElse(false);
isIceshrimp=instance.map(Instance::isIceshrimp).orElse(false);
tabViews=new FrameLayout[isIceshrimp ? 3 : 4]; // reduce array size on Iceshrimp to hide news feed because it's unsupported and always returns an empty list