diff --git a/src/components/FullScreenCard/index.tsx b/src/components/FullScreenCard/index.tsx index 773d7db..8c684f2 100644 --- a/src/components/FullScreenCard/index.tsx +++ b/src/components/FullScreenCard/index.tsx @@ -8,6 +8,7 @@ import UserTag from '../UserTag'; import { RootState } from '@/store'; import style from './index.module.less'; import { useScene } from '@/lib/useCommon'; +import { isMobile } from '@/utils/utils'; export const LocalFullID = 'local-full-player'; export const RemoteFullID = 'remote-full-player'; @@ -29,7 +30,7 @@ function FullScreenCard() { style={{ background: 'unset' }} >
- + {!isMobile() ? : null}
); diff --git a/src/pages/MainPage/MainArea/Room/index.tsx b/src/pages/MainPage/MainArea/Room/index.tsx index 8093ced..77e815a 100644 --- a/src/pages/MainPage/MainArea/Room/index.tsx +++ b/src/pages/MainPage/MainArea/Room/index.tsx @@ -28,7 +28,7 @@ function Room() { {isShowSubtitle && !isMobile() ? ( ) : null} - {(isFullScreen || isAvatarScene) && !isMobile() ? ( + {isAvatarScene || (isFullScreen && !isMobile()) ? ( ) : isMobile() && isShowSubtitle ? null : (