mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-06 02:30:12 +08:00
set system brightness
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -143,7 +143,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
||||
void dispose() {
|
||||
videoPlayerServiceHandler?.onVideoDetailDispose(heroTag);
|
||||
WidgetsBinding.instance.removeObserver(this);
|
||||
if (Utils.isMobile) {
|
||||
if (Platform.isAndroid && !plPlayerController.setSystemBrightness) {
|
||||
ScreenBrightnessPlatform.instance.resetApplicationScreenBrightness();
|
||||
}
|
||||
PlPlayerController.setPlayCallBack(null);
|
||||
|
||||
Reference in New Issue
Block a user