aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-10-20 09:24:50 -0700
committerScott Jackson <daneren2005@gmail.com>2015-10-20 09:24:50 -0700
commitc0053cf534e6e8c570388f9ac6dcfb256332327e (patch)
treea3c04d4145afb99d1d8cc768daf7483ff91f6cf4 /app/src/main/java
parent57e13e94620b837e4945858b6d7f3f1d4abf6941 (diff)
downloaddsub-c0053cf534e6e8c570388f9ac6dcfb256332327e.tar.gz
dsub-c0053cf534e6e8c570388f9ac6dcfb256332327e.tar.bz2
dsub-c0053cf534e6e8c570388f9ac6dcfb256332327e.zip
#585 Don't change options menu/title since no longer visible
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java b/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java
index dc64e9d1..a0f3333e 100644
--- a/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java
+++ b/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java
@@ -352,12 +352,9 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte
drawerToggle = new ActionBarDrawerToggle(this, drawer, toolbar, R.string.common_appname, R.string.common_appname) {
@Override
public void onDrawerClosed(View view) {
- setTitle(currentFragment.getTitle());
-
drawerIdle = true;
drawerOpen = false;
- supportInvalidateOptionsMenu();
if(!showingTabs) {
populateTabs();
}
@@ -372,13 +369,8 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte
}
setDrawerItemVisible(R.id.drawer_downloading, downloadingVisible);
- getSupportActionBar().setTitle(R.string.common_appname);
- getSupportActionBar().setDisplayShowCustomEnabled(false);
-
drawerIdle = true;
drawerOpen = true;
-
- supportInvalidateOptionsMenu();
}
@Override