From 32fc91a678df90bf7907a313cb2b74c91cd5095f Mon Sep 17 00:00:00 2001 From: orz12 Date: Fri, 1 Mar 2024 22:47:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=80=8D=E9=80=9F=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plugin/pl_player/view.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/plugin/pl_player/view.dart b/lib/plugin/pl_player/view.dart index 431240b0..62281a53 100644 --- a/lib/plugin/pl_player/view.dart +++ b/lib/plugin/pl_player/view.dart @@ -253,11 +253,12 @@ class _PLVideoPlayerState extends State ), height: 32.0, width: 70.0, - child: const Center( - child: Text( - '倍速中', - style: TextStyle(color: Colors.white, fontSize: 13), - ), + child: Center( + child: Obx(() => Text( + '${_.enableAutoLongPressSpeed ? _.playbackSpeed * 2 : _.longPressSpeed}倍速中', + style: const TextStyle( + color: Colors.white, fontSize: 13), + )), )), ), ),