mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-21 18:42:35 +01: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:
parent
7689d1d15c
commit
3c72992c39
@ -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 New Issue
Block a user