Skip to content

Commit 298e96b

Browse files
committed
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.
1 parent 9006667 commit 298e96b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public void onSharedPreferenceChanged(final SharedPreferences sharedPreferences,
423423
showRelatedItems = sharedPreferences.getBoolean(key, true);
424424
tabSettingsChanged = true;
425425
} else if (key.equals(getString(R.string.show_description_key))) {
426-
showComments = sharedPreferences.getBoolean(key, true);
426+
showDescription = sharedPreferences.getBoolean(key, true);
427427
tabSettingsChanged = true;
428428
}
429429
}

0 commit comments

Comments
 (0)