1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-17 06:10:51 +01:00

fix back button for feed on main page

This commit is contained in:
Christian Schabesberger 2017-10-30 23:03:18 +01:00
parent 02d986fc89
commit 391d3e7fc7

View File

@ -187,9 +187,13 @@ public abstract class BaseListFragment<I, N> extends BaseStateFragment<I> implem
ActionBar supportActionBar = activity.getSupportActionBar();
if (supportActionBar != null) {
supportActionBar.setDisplayShowTitleEnabled(true);
if(useAsFrontPage) {
supportActionBar.setDisplayHomeAsUpEnabled(false);
} else {
supportActionBar.setDisplayHomeAsUpEnabled(true);
}
}
}
/*//////////////////////////////////////////////////////////////////////////
// Load and handle