Skip to content

Commit

Permalink
Update app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDet…
Browse files Browse the repository at this point in the history
…ailFragment.java

Co-authored-by: Stypox <[email protected]>
  • Loading branch information
Marius1501 and Stypox committed Apr 4, 2023
1 parent 7689d1d commit 3c72992
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2013,9 +2013,9 @@ private void setupBrightness() {
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;
}
Expand Down

0 comments on commit 3c72992

Please sign in to comment.