From b5658d81ab336c9639090d04c7d8a3470d87ab76 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Thu, 13 Feb 2025 11:34:52 +0800 Subject: [PATCH] feat: add platform-specific keyboard shortcut display in Footer --- app/(main)/footer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/(main)/footer.tsx b/app/(main)/footer.tsx index 28e9cfb..99f5b99 100644 --- a/app/(main)/footer.tsx +++ b/app/(main)/footer.tsx @@ -27,6 +27,7 @@ export default function Footer() { const t = useTranslations("Footer") const version = pack.version const currentYear = new Date().getFullYear() + const isMac = /macintosh|mac os x/i.test(navigator.userAgent) return (