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