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);
|
binding.clients.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
binding.clients.setVisibility(View.VISIBLE);
|
binding.clients.setVisibility(View.VISIBLE);
|
||||||
for (int i = 0; i < resources.length; i++) {
|
StringBuilder clientsText = new StringBuilder();
|
||||||
binding.clients.append(resources[i]);
|
for(String value: resources) {
|
||||||
binding.clients.append("\n");
|
clientsText.append(value).append("\n");
|
||||||
}
|
}
|
||||||
|
binding.clients.setText(clientsText);
|
||||||
}
|
}
|
||||||
|
|
||||||
populateView();
|
populateView();
|
||||||
|
|
Loading…
Reference in a new issue