diff --git a/gui/src/util/index.ts b/gui/src/util/index.ts index e4f4c7cb6..233589f34 100644 --- a/gui/src/util/index.ts +++ b/gui/src/util/index.ts @@ -34,16 +34,7 @@ export function isMetaEquivalentKeyPressed({ } export function getMetaKeyLabel(): string { - const platform = getPlatform(); - switch (platform) { - case "mac": - return "⌘"; - case "linux": - case "windows": - return "^"; - default: - return "^"; - } + return getPlatform() === "mac" ? "⌘" : "Ctrl"; } export function getAltKeyLabel(): string {