1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

Fix history showing even when disabled

This commit is contained in:
SpajicM 2017-10-30 11:53:44 +01:00 committed by GitHub
parent 59b3362715
commit 7e005549fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,6 +241,7 @@ public abstract class HistoryFragment<E extends HistoryEntry> extends BaseFragme
if (mHistoryIsEnabled) {
mRecyclerView.setVisibility(View.VISIBLE);
} else {
mRecyclerView.setVisibility(View.GONE);
mDisabledView.setVisibility(View.VISIBLE);
}