diff --git a/app/src/main/java/app/fedilab/android/activities/InstanceHealthActivity.java b/app/src/main/java/app/fedilab/android/activities/InstanceHealthActivity.java index 85de47a2..e25e8801 100644 --- a/app/src/main/java/app/fedilab/android/activities/InstanceHealthActivity.java +++ b/app/src/main/java/app/fedilab/android/activities/InstanceHealthActivity.java @@ -81,6 +81,12 @@ public class InstanceHealthActivity extends BaseAlertDialogActivity { instanceSocialVM.getInstances(BaseMainActivity.currentInstance.trim()).observe(InstanceHealthActivity.this, instanceSocialList -> { if (instanceSocialList != null && instanceSocialList.instances.size() > 0) { InstanceSocial.Instance instanceSocial = instanceSocialList.instances.get(0); + for (InstanceSocial.Instance instance : instanceSocialList.instances) { + if (instance.name.equalsIgnoreCase(BaseMainActivity.currentInstance.trim())) { + instanceSocial = instance; + break; + } + } if (instanceSocial.thumbnail != null && !instanceSocial.thumbnail.equals("null")) Glide.with(InstanceHealthActivity.this) .asBitmap()