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:
parent
c818458a97
commit
d447990a35
@ -308,7 +308,7 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
|
||||
{
|
||||
adapter.loadServers();
|
||||
|
||||
if (!adapter.isEmpty()) {
|
||||
if (adapter.getCount() > 2) {
|
||||
// Hide background if there are servers in the list
|
||||
list.setBackgroundDrawable(null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user