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.
1 parent 45306bb commit db39fbcCopy full SHA for db39fbc
1 file changed
app/components/chat.tsx
@@ -504,6 +504,8 @@ export function ChatActions(props: {
504
const currentStyle =
505
chatStore.currentSession().mask.modelConfig?.style ?? "vivid";
506
507
+ const isMobileScreen = useMobileScreen();
508
+
509
useEffect(() => {
510
const show = isVisionModel(currentModel);
511
setShowUploadImage(show);
@@ -758,11 +760,13 @@ export function ChatActions(props: {
758
760
/>
759
761
)}
762
- <ChatAction
- onClick={() => props.setShowShortcutKeyModal(true)}
763
- text={Locale.Chat.ShortcutKey.Title}
764
- icon={<ShortcutkeyIcon />}
765
- />
+ {!isMobileScreen && (
+ <ChatAction
+ onClick={() => props.setShowShortcutKeyModal(true)}
766
+ text={Locale.Chat.ShortcutKey.Title}
767
+ icon={<ShortcutkeyIcon />}
768
+ />
769
+ )}
770
</div>
771
);
772
}
0 commit comments