mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-08 19:17:49 +08:00
improve handling video pop
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -78,7 +78,7 @@ class _ReplyPageState extends CommonRichTextPubPageState<ReplyPage> {
|
||||
}
|
||||
|
||||
late final darkVideoPage =
|
||||
Get.currentRoute.startsWith('/video') && Pref.darkVideoPage;
|
||||
Get.currentRoute == '/videoV' && Pref.darkVideoPage;
|
||||
late ThemeData themeData;
|
||||
|
||||
@override
|
||||
|
||||
@@ -330,13 +330,6 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
tag: videoDetailController.heroTag,
|
||||
);
|
||||
|
||||
if (!Get.previousRoute.startsWith('/video')) {
|
||||
if (Platform.isAndroid && !videoDetailController.setSystemBrightness) {
|
||||
ScreenBrightnessPlatform.instance.resetApplicationScreenBrightness();
|
||||
}
|
||||
PlPlayerController.setPlayCallBack(null);
|
||||
}
|
||||
|
||||
if (!videoDetailController.isFileSource) {
|
||||
if (videoDetailController.isUgc) {
|
||||
ugcIntroController
|
||||
|
||||
Reference in New Issue
Block a user