mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-17 14:20:21 +01:00
fix back button for feed on main page
This commit is contained in:
parent
02d986fc89
commit
391d3e7fc7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user