feat: keyboard shortcuts for primary actions (#2030)
This commit is contained in:
9
packages/ui-services/src/Keyboard/platformCheck.ts
Normal file
9
packages/ui-services/src/Keyboard/platformCheck.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Platform } from '@standardnotes/snjs'
|
||||
|
||||
export function isMacPlatform(platform: Platform) {
|
||||
return platform === Platform.MacDesktop || platform === Platform.MacWeb
|
||||
}
|
||||
|
||||
export function isWindowsPlatform(platform: Platform) {
|
||||
return platform === Platform.WindowsDesktop || platform === Platform.WindowsWeb
|
||||
}
|
||||
Reference in New Issue
Block a user