diff options
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java | 9 |
1 files changed, 6 insertions, 3 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 f7cdd92c..bc114272 100644 --- a/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java +++ b/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java @@ -383,7 +383,7 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte } }; drawer.setDrawerListener(drawerToggle); - drawerToggle.setDrawerIndicatorEnabled(false); + drawerToggle.setDrawerIndicatorEnabled(true); drawer.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { @@ -844,8 +844,11 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte getSupportActionBar().setDisplayShowCustomEnabled(true); } - drawerToggle.setDrawerIndicatorEnabled(false); - getSupportActionBar().setDisplayHomeAsUpEnabled(true); + if(drawerToggle.isDrawerIndicatorEnabled()) { + getSupportActionBar().setDisplayHomeAsUpEnabled(false); + drawerToggle.setDrawerIndicatorEnabled(false); + getSupportActionBar().setDisplayHomeAsUpEnabled(true); + } } else if(!isTv()) { getSupportActionBar().setTitle(currentFragment.getTitle()); getSupportActionBar().setDisplayShowCustomEnabled(false); |