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.
pull/7056/head
TobiGr 2021-09-04 11:28:32 +02:00
rodzic 9006667b4d
commit 298e96b821
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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