diff --git a/desktop/src/features/profile/ui/ProfilePopover.tsx b/desktop/src/features/profile/ui/ProfilePopover.tsx index 28dacb1bc..d29134264 100644 --- a/desktop/src/features/profile/ui/ProfilePopover.tsx +++ b/desktop/src/features/profile/ui/ProfilePopover.tsx @@ -7,6 +7,7 @@ import { PresenceDot } from "@/features/presence/ui/PresenceBadge"; import { getPresenceLabel } from "@/features/presence/lib/presence"; import { SetStatusDialog } from "@/features/user-status/ui/SetStatusDialog"; import type { PresenceStatus } from "@/shared/api/types"; +import { isMacPlatform } from "@/shared/lib/platform"; // --------------------------------------------------------------------------- // Types @@ -68,6 +69,8 @@ export function ProfilePopover({ const [presenceMenuOpen, setPresenceMenuOpen] = React.useState(false); const presenceHoverTimer = React.useRef(null); const hasUserStatus = Boolean(userStatusText || userStatusEmoji); + const profileShortcutLabel = isMacPlatform() ? "⌘U" : "Ctrl+U"; + const preferencesShortcutLabel = isMacPlatform() ? "⌘," : "Ctrl+,"; function clearPresenceHoverTimer() { if (presenceHoverTimer.current !== null) { @@ -255,7 +258,9 @@ export function ProfilePopover({ type="button" > Profile - ⌘U + + {profileShortcutLabel} + {workspaceSwitcherSlot ? (