Android: Remove reference to on screen add project button.

This commit is contained in:
Rom Walton 2013-02-24 17:13:40 -05:00 committed by Oliver Bock
parent bcf3e835b0
commit 4fe7b377cb
1 changed files with 0 additions and 7 deletions

View File

@ -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();
}