mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 屏蔽返回页面时header_controller中Get.arguments为null的问题
This commit is contained in:
@@ -62,7 +62,9 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
super.initState();
|
||||
videoInfo = widget.videoDetailCtr!.data;
|
||||
listenFullScreenStatus();
|
||||
heroTag = Get.arguments['heroTag'];
|
||||
if (Get.arguments != null) {
|
||||
heroTag = Get.arguments['heroTag'];
|
||||
}
|
||||
videoIntroController = Get.put(VideoIntroController(), tag: heroTag);
|
||||
horizontalScreen =
|
||||
setting.get(SettingBoxKey.horizontalScreen, defaultValue: false);
|
||||
|
||||
Reference in New Issue
Block a user