fix(chat): place browser hint between header actions
This commit is contained in:
@@ -11,7 +11,6 @@ import { ROUTES } from "@/router/routes";
|
||||
import { MobileShell } from "@/app/_components/core";
|
||||
|
||||
import {
|
||||
BrowserHintOverlay,
|
||||
ChatArea,
|
||||
ChatHeader,
|
||||
ChatInputBar,
|
||||
@@ -216,6 +215,7 @@ export function ChatScreen() {
|
||||
{/* isGuest 派生自 auth.loginStatus */}
|
||||
<ChatHeader
|
||||
isGuest={isGuest}
|
||||
showBrowserHint={shouldShowBrowserHint}
|
||||
offerBanner={
|
||||
<FirstRechargeOfferBanner
|
||||
visible={firstRechargeOfferBanner.visible}
|
||||
@@ -252,9 +252,6 @@ export function ChatScreen() {
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* 浏览器提示(应用内浏览器检测) */}
|
||||
{shouldShowBrowserHint ? <BrowserHintOverlay forceShow /> : null}
|
||||
|
||||
{/* PWA 安装提示触发器(聊天消息数量达到阈值后才允许弹出) */}
|
||||
<PwaInstallOverlay enabled={shouldShowPwaInstall} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user