From 243a36b04f7837e5b8b4813ced9099d68a2e4e90 Mon Sep 17 00:00:00 2001 From: ErBW_s <94068488+ErBWs@users.noreply.github.com> Date: Wed, 4 Dec 2024 00:08:01 +0800 Subject: [PATCH] make webview 1x1 pixel --- lib/pages/video/video_page.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/pages/video/video_page.dart b/lib/pages/video/video_page.dart index fa3808d0..5a257318 100644 --- a/lib/pages/video/video_page.dart +++ b/lib/pages/video/video_page.dart @@ -426,6 +426,10 @@ class _VideoPageState extends State videoPageController.currentPlugin.useNativePlayer) ? 1 : null, + width: (videoPageController.loading || + videoPageController.currentPlugin.useNativePlayer) + ? 1 + : null, child: const WebviewItem())) ], );