mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-18 16:16:14 +08:00
fix: 自动恢复亮度
This commit is contained in:
@@ -238,7 +238,8 @@ class VideoDetailController extends GetxController
|
|||||||
/// 设置/恢复 屏幕亮度
|
/// 设置/恢复 屏幕亮度
|
||||||
if (brightness != null) {
|
if (brightness != null) {
|
||||||
ScreenBrightness().setScreenBrightness(brightness!);
|
ScreenBrightness().setScreenBrightness(brightness!);
|
||||||
} else {
|
} else if (setting.get(SettingBoxKey.enableAutoBrightness,
|
||||||
|
defaultValue: false) as bool) {
|
||||||
ScreenBrightness().resetScreenBrightness();
|
ScreenBrightness().resetScreenBrightness();
|
||||||
}
|
}
|
||||||
await plPlayerController.setDataSource(
|
await plPlayerController.setDataSource(
|
||||||
|
|||||||
Reference in New Issue
Block a user