mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
opt: live danmaku
This commit is contained in:
@@ -205,7 +205,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
|
||||
Future<void> setBrightness(double value) async {
|
||||
try {
|
||||
await ScreenBrightness().setScreenBrightness(value);
|
||||
await ScreenBrightness().setApplicationScreenBrightness(value);
|
||||
} catch (_) {}
|
||||
_brightnessIndicator.value = true;
|
||||
_brightnessTimer?.cancel();
|
||||
|
||||
Reference in New Issue
Block a user