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

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 9006667b4d
commit 298e96b821

View File

@ -423,7 +423,7 @@ public final class VideoDetailFragment
showRelatedItems = sharedPreferences.getBoolean(key, true); showRelatedItems = sharedPreferences.getBoolean(key, true);
tabSettingsChanged = true; tabSettingsChanged = true;
} else if (key.equals(getString(R.string.show_description_key))) { } else if (key.equals(getString(R.string.show_description_key))) {
showComments = sharedPreferences.getBoolean(key, true); showDescription = sharedPreferences.getBoolean(key, true);
tabSettingsChanged = true; tabSettingsChanged = true;
} }
} }