pack: add prettier and reformat all codes
This commit is contained in:
1 parent
251394391a
commit
5d8a3672bb
23 files changed
+1044
-2040
No files matched your search
@@ -2,7 +2,7 @@ import { systemPreferences } from 'electron'
|
||||
import Constants from './Constants'
|
||||
|
||||
export default class Menus {
|
||||
static macOSDisableDefaultMenuItem () : void {
|
||||
static macOSDisableDefaultMenuItem(): void {
|
||||
if (Constants.IS_MAC) {
|
||||
systemPreferences.setUserDefault('NSDisabledDictationMenuItem', 'boolean', true)
|
||||
systemPreferences.setUserDefault('NSDisabledCharacterPaletteMenuItem', 'boolean', true)
|
||||
|
||||
Reference in new issue
Block a user