Fix loop showing used clients

This commit is contained in:
Arne 2025-01-09 18:49:31 +01:00
parent 56979376ca
commit 88bb00137a

View file

@ -788,10 +788,11 @@ public class ContactDetailsActivity extends OmemoActivity implements OnAccountUp
binding.clients.setVisibility(View.GONE);
} else {
binding.clients.setVisibility(View.VISIBLE);
for (int i = 0; i < resources.length; i++) {
binding.clients.append(resources[i]);
binding.clients.append("\n");
StringBuilder clientsText = new StringBuilder();
for(String value: resources) {
clientsText.append(value).append("\n");
}
binding.clients.setText(clientsText);
}
populateView();