From 7e005549fecd3da18bb8a4f2be6104933865bbd8 Mon Sep 17 00:00:00 2001 From: SpajicM Date: Mon, 30 Oct 2017 11:53:44 +0100 Subject: [PATCH] Fix history showing even when disabled --- .../main/java/org/schabi/newpipe/history/HistoryFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/schabi/newpipe/history/HistoryFragment.java b/app/src/main/java/org/schabi/newpipe/history/HistoryFragment.java index 03657d264..b8641c92b 100644 --- a/app/src/main/java/org/schabi/newpipe/history/HistoryFragment.java +++ b/app/src/main/java/org/schabi/newpipe/history/HistoryFragment.java @@ -241,6 +241,7 @@ public abstract class HistoryFragment extends BaseFragme if (mHistoryIsEnabled) { mRecyclerView.setVisibility(View.VISIBLE); } else { + mRecyclerView.setVisibility(View.GONE); mDisabledView.setVisibility(View.VISIBLE); }