mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
opt: brightness
This commit is contained in:
@@ -1014,6 +1014,10 @@ class PlPlayerController {
|
||||
}
|
||||
}
|
||||
|
||||
void setCurrBrightness(double brightness) {
|
||||
_currentBrightness.value = brightness;
|
||||
}
|
||||
|
||||
Future<void> setBrightness(double brightness) async {
|
||||
try {
|
||||
this.brightness.value = brightness;
|
||||
|
||||
Reference in New Issue
Block a user