1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

ServersActivity: Hide background if there is more than two servers

This commit is contained in:
Sebastian Kaspari 2010-09-18 16:27:01 +02:00
parent c818458a97
commit d447990a35

View File

@ -308,7 +308,7 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
{ {
adapter.loadServers(); adapter.loadServers();
if (!adapter.isEmpty()) { if (adapter.getCount() > 2) {
// Hide background if there are servers in the list // Hide background if there are servers in the list
list.setBackgroundDrawable(null); list.setBackgroundDrawable(null);
} }