chore: 手机端隐藏快捷键展示

This commit is contained in:
DDMeaqua 2024-09-13 16:56:06 +08:00
parent 45306bbb6c
commit db39fbc419
1 changed files with 9 additions and 5 deletions

View File

@ -504,6 +504,8 @@ export function ChatActions(props: {
const currentStyle =
chatStore.currentSession().mask.modelConfig?.style ?? "vivid";
const isMobileScreen = useMobileScreen();
useEffect(() => {
const show = isVisionModel(currentModel);
setShowUploadImage(show);
@ -758,11 +760,13 @@ export function ChatActions(props: {
/>
)}
{!isMobileScreen && (
<ChatAction
onClick={() => props.setShowShortcutKeyModal(true)}
text={Locale.Chat.ShortcutKey.Title}
icon={<ShortcutkeyIcon />}
/>
)}
</div>
);
}