From 823f49cfbc59a28764a8e957dcffb8f6d6d2f71d Mon Sep 17 00:00:00 2001 From: orz12 Date: Fri, 23 Feb 2024 10:50:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=87=E6=8D=A2pip=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=BC=B9=E5=B9=95=E6=8E=A7=E5=88=B6=E5=99=A8=E7=A9=BA=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/danmaku/view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/danmaku/view.dart b/lib/pages/danmaku/view.dart index 7c60041a..2bd5931a 100644 --- a/lib/pages/danmaku/view.dart +++ b/lib/pages/danmaku/view.dart @@ -95,7 +95,7 @@ class _PlDanmakuState extends State { List? currentDanmakuList = _plDanmakuController.getCurrentDanmaku(currentPosition); - if (currentDanmakuList != null) { + if (currentDanmakuList != null && _controller != null) { Color? defaultColor = playerController.blockTypes.contains(6) ? DmUtils.decimalToColor(16777215) : null;