Update app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java
Co-authored-by: Stypox <stypox@pm.me>
This commit is contained in:
parent
7689d1d15c
commit
3c72992c39
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue