mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-16 07:20:59 +00:00
Merge branch 'brightness-fix' into 'master'
Dim Fullscreen Fix See merge request videostreaming/grayjay!119
This commit is contained in:
commit
52044edb2e
1 changed files with 3 additions and 1 deletions
|
@ -2539,8 +2539,10 @@ class VideoDetailView : ConstraintLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
fun saveBrightness() {
|
fun saveBrightness() {
|
||||||
|
if (Settings.instance.gestureControls.useSystemBrightness) {
|
||||||
_player.gestureControl.saveBrightness()
|
_player.gestureControl.saveBrightness()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
fun restoreBrightness() {
|
fun restoreBrightness() {
|
||||||
_player.gestureControl.restoreBrightness()
|
_player.gestureControl.restoreBrightness()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue