From 4fe7b377cb8df8b723e77be10223e9ea6db18e6e Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sun, 24 Feb 2013 17:13:40 -0500 Subject: [PATCH] Android: Remove reference to on screen add project button. --- android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java b/android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java index f6f9c8d8f5..b34cd7c762 100644 --- a/android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java +++ b/android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java @@ -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(); }