We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents affc194 + db39fbc commit 57fcda8Copy full SHA for 57fcda8
1 file changed
app/components/chat.tsx
@@ -507,6 +507,8 @@ export function ChatActions(props: {
507
const currentStyle =
508
chatStore.currentSession().mask.modelConfig?.style ?? "vivid";
509
510
+ const isMobileScreen = useMobileScreen();
511
+
512
useEffect(() => {
513
const show = isVisionModel(currentModel);
514
setShowUploadImage(show);
@@ -761,11 +763,13 @@ export function ChatActions(props: {
761
763
/>
762
764
)}
765
- <ChatAction
- onClick={() => props.setShowShortcutKeyModal(true)}
766
- text={Locale.Chat.ShortcutKey.Title}
767
- icon={<ShortcutkeyIcon />}
768
- />
+ {!isMobileScreen && (
+ <ChatAction
+ onClick={() => props.setShowShortcutKeyModal(true)}
769
+ text={Locale.Chat.ShortcutKey.Title}
770
+ icon={<ShortcutkeyIcon />}
771
+ />
772
+ )}
773
</div>
774
);
775
}
0 commit comments