Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Usage, Billing settings and prepaid AI credit; fixes from the UX audit | 1 | /** |
| 2 | * How the palette's shortcut is written on this computer: the Command key | |
| 3 | * on a Mac, an iPhone or an iPad, Ctrl everywhere else. | |
| 4 | */ | |
| 5 | export function paletteKeyLabel(platform: string | null | undefined): string { | |
| 6 | return /mac|iphone|ipad|ipod/i.test(platform ?? "") ? "⌘K" : "Ctrl K"; | |
| 7 | } |