1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-15 09:50:01 +00:00

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

Co-authored-by: Stypox <stypox@pm.me>
This commit is contained in:
Marius Wagner 2023-02-26 17:00:06 +01:00 committed by Stypox
parent 7689d1d15c
commit 3c72992c39

View File

@ -2013,9 +2013,9 @@ public final class VideoDetailFragment
restoreDefaultBrightness();
} else {
// Do not restore if user has disabled brightness gesture
if (PlayerHelper.getActionForRightGestureSide(activity)
if (!PlayerHelper.getActionForRightGestureSide(activity)
.equals(getString(R.string.brightness_control_key))
|| PlayerHelper.getActionForLeftGestureSide(activity)
&& !PlayerHelper.getActionForLeftGestureSide(activity)
.equals(getString(R.string.brightness_control_key))) {
return;
}