mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-02-16 23:10:11 -05:00
ServerListAdapter: Added username and port to server list
This commit is contained in:
parent
657d21c6cd
commit
e926fb4437
@ -100,7 +100,7 @@ public class ServerListAdapter extends BaseAdapter
|
||||
View v = inflater.inflate(R.layout.serveritem, null);
|
||||
|
||||
((TextView) v.findViewById(R.id.title)).setText(server.getTitle());
|
||||
((TextView) v.findViewById(R.id.host)).setText(server.getHost());
|
||||
((TextView) v.findViewById(R.id.host)).setText(server.getIdentity().getNickname() + " @ " + server.getHost() + " : " + server.getPort());
|
||||
|
||||
((ImageView) v.findViewById(R.id.status)).setImageResource(server.getStatusIcon());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user