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.
This commit is contained in:
TobiGr 2021-09-04 11:28:32 +02:00
parent 7fa6c41568
commit f9410ec0f1

View file

@ -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;
}
}