mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-24 03:47:38 +00:00
Fix history showing even when disabled
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user