set system brightness

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-09 11:44:04 +08:00
parent 1291dc77c8
commit 13c220338c
9 changed files with 47 additions and 16 deletions

View File

@@ -98,6 +98,7 @@ class PlPlayerController {
final RxDouble _currentVolume = RxDouble(
Utils.isDesktop ? Pref.desktopVolume : 1.0,
);
final setSystemBrightness = Pref.setSystemBrightness;
final RxDouble _currentBrightness = (-1.0).obs;
final RxBool _showControls = false.obs;