From 298e96b82195de11333c2124eaa8b84f73f1700f Mon Sep 17 00:00:00 2001 From: TobiGr Date: Sat, 4 Sep 2021 11:28:32 +0200 Subject: [PATCH] Fix updating the wrong tabs when changing settings while running the minimized player in VideoDetailFragment The comments tab was updated although the settings for the description tab were changed. --- .../schabi/newpipe/fragments/detail/VideoDetailFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java index ecf235abc..93fecfca2 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java @@ -423,7 +423,7 @@ public final class VideoDetailFragment showRelatedItems = sharedPreferences.getBoolean(key, true); tabSettingsChanged = true; } else if (key.equals(getString(R.string.show_description_key))) { - showComments = sharedPreferences.getBoolean(key, true); + showDescription = sharedPreferences.getBoolean(key, true); tabSettingsChanged = true; } }