From 9fef3284db0ac9a7ce538d21ecf3c4882e0441d5 Mon Sep 17 00:00:00 2001 From: dom Date: Wed, 11 Mar 2026 17:17:23 +0800 Subject: [PATCH] opt ui Signed-off-by: dom --- lib/plugin/pl_player/view/view.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugin/pl_player/view/view.dart b/lib/plugin/pl_player/view/view.dart index f9ea8feef..1ce63b86d 100644 --- a/lib/plugin/pl_player/view/view.dart +++ b/lib/plugin/pl_player/view/view.dart @@ -1369,7 +1369,8 @@ class _PLVideoPlayerState extends State Widget build(BuildContext context) { maxWidth = widget.maxWidth; maxHeight = widget.maxHeight; - final primary = colorScheme.isLight + final isFullScreen = this.isFullScreen; + final primary = isFullScreen && colorScheme.isLight ? colorScheme.inversePrimary : colorScheme.primary; late final thumbGlowColor = primary.withAlpha(80); @@ -1378,7 +1379,6 @@ class _PLVideoPlayerState extends State color: Colors.white, fontSize: 12, ); - final isFullScreen = this.isFullScreen; final isLive = plPlayerController.isLive; final child = Stack(