mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +08:00
fix: 参数未判空
This commit is contained in:
@@ -101,8 +101,8 @@ class VideoPlayerServiceHandler extends BaseAudioHandler with SeekHandler {
|
|||||||
if (!enableBackgroundPlay) return;
|
if (!enableBackgroundPlay) return;
|
||||||
|
|
||||||
if (data == null) return;
|
if (data == null) return;
|
||||||
Map argMap = Get.arguments;
|
if (Get.arguments == null) return;
|
||||||
final heroTag = argMap['heroTag'];
|
final heroTag = Get.arguments['heroTag'];
|
||||||
|
|
||||||
late MediaItem? mediaItem;
|
late MediaItem? mediaItem;
|
||||||
if (data is VideoDetailData) {
|
if (data is VideoDetailData) {
|
||||||
|
|||||||
Reference in New Issue
Block a user