forked from mirror/monocles_chat
Fix loop showing used clients
This commit is contained in:
parent
f9d3c8da1a
commit
6bfb51925b
1 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue