From 2af9f3d06efeaa4b65d3c4e762823f0587c9af4b Mon Sep 17 00:00:00 2001 From: AAA <35992542+TNTcraftHIM@users.noreply.github.com> Date: Wed, 26 Aug 2026 18:09:36 +0800 Subject: [PATCH] fix: add host overlay status icons --- src/client/pages/HostPage.tsx | 36 ++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/src/client/pages/HostPage.tsx b/src/client/pages/HostPage.tsx index ec85d18d9..e208103a1 100644 --- a/src/client/pages/HostPage.tsx +++ b/src/client/pages/HostPage.tsx @@ -6,6 +6,7 @@ import { Globe2, KeyRound, Link2Off, + LoaderCircle, LockKeyhole, MonitorUp, Network, @@ -2202,13 +2203,34 @@ export function HostPage({ onAuthorizationRequired }: HostPageProps = {}) { sharingPaused || (stream !== null && localPreviewPaused)) && (
- {switchingSource - ? "正在切换来源" - : sharingPaused - ? "音视频分享已暂停" - : phase === "starting" - ? "正在连接" - : "本地预览已暂停,分享仍在继续"} + {switchingSource ? ( +
)}