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

ServersActivity: Hide background icon if there are servers in the list

This commit is contained in:
Sebastian Kaspari 2010-04-15 23:50:35 +02:00
parent c7dd025509
commit 85dc0847e3

View File

@ -271,11 +271,16 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
}
/**
* On server status updat
* On server status update
*/
public void onStatusUpdate()
{
adapter.loadServers();
if (!adapter.isEmpty()) {
// Hide background if there are servers in the list
getListView().setBackgroundDrawable(null);
}
}
}