forked from mirror/monocles_chat_clean
Fix loop showing used clients
This commit is contained in:
parent
56979376ca
commit
88bb00137a
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