1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-25 12:32:31 +01: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);
tabSettingsChanged = true;
} else if (key.equals(getString(R.string.show_description_key))) {
showComments = sharedPreferences.getBoolean(key, true);
showDescription = sharedPreferences.getBoolean(key, true);
tabSettingsChanged = true;
}
}