mirror of https://github.com/BOINC/boinc.git
Android: Remove reference to on screen add project button.
This commit is contained in:
parent
bcf3e835b0
commit
4fe7b377cb
|
@ -108,13 +108,6 @@ public class ProjectsActivity extends FragmentActivity {
|
|||
data.add(tmp);
|
||||
}
|
||||
|
||||
//only show button, when other projects are present. If there are no projects attached, banner is shown!
|
||||
if(Monitor.getClientStatus().setupStatus == ClientStatus.SETUP_STATUS_AVAILABLE) {
|
||||
((Button) findViewById(R.id.add_project_button)).setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
((Button) findViewById(R.id.add_project_button)).setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
// Force list adapter to refresh
|
||||
listAdapter.notifyDataSetChanged();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue