mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-23 01:12:17 -05:00
ServersActivity: Hide background icon if there are servers in the list
This commit is contained in:
parent
c7dd025509
commit
85dc0847e3
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user