Fix history showing even when disabled
This commit is contained in:
parent
59b3362715
commit
7e005549fe
1 changed files with 1 additions and 0 deletions
|
@ -241,6 +241,7 @@ public abstract class HistoryFragment<E extends HistoryEntry> extends BaseFragme
|
||||||
if (mHistoryIsEnabled) {
|
if (mHistoryIsEnabled) {
|
||||||
mRecyclerView.setVisibility(View.VISIBLE);
|
mRecyclerView.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
|
mRecyclerView.setVisibility(View.GONE);
|
||||||
mDisabledView.setVisibility(View.VISIBLE);
|
mDisabledView.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue