diff --git a/app/src/main/java/app/fedilab/android/mastodon/viewmodel/mastodon/InstanceSocialVM.java b/app/src/main/java/app/fedilab/android/mastodon/viewmodel/mastodon/InstanceSocialVM.java index 65ec705c7..b4b5f9e07 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/viewmodel/mastodon/InstanceSocialVM.java +++ b/app/src/main/java/app/fedilab/android/mastodon/viewmodel/mastodon/InstanceSocialVM.java @@ -78,11 +78,7 @@ public class InstanceSocialVM extends AndroidViewModel { InstanceSocial filtered = new InstanceSocial(); filtered.instances = new ArrayList<>(); if (instanceSocial != null && instanceSocial.instances != null) { - for (InstanceSocial.Instance instance : instanceSocial.instances) { - if (instance.up) { - filtered.instances.add(instance); - } - } + filtered.instances.addAll(instanceSocial.instances); } Runnable myRunnable = () -> instanceSocialMutableLiveData.setValue(filtered); mainHandler.post(myRunnable);