Skip to content

Commit 3c75bfe

Browse files
committed
fix: Allow MacOS users to browse for spell checking dictionaries
1 parent e6cef68 commit 3c75bfe

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

src/preload/contextMenu.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,13 @@ const createSpellCheckingMenuTemplate = ({
8080
? enableSpellCheckingDictionary(dictionaryName)
8181
: disableSpellCheckingDictionary(dictionaryName)),
8282
})),
83-
...process.platform !== 'darwin' ? [
84-
{
85-
type: 'separator',
86-
},
87-
{
88-
label: t('contextMenu.browseForLanguage'),
89-
click: handleBrowserForLanguage,
90-
},
91-
] : [],
83+
{
84+
type: 'separator',
85+
},
86+
{
87+
label: t('contextMenu.browseForLanguage'),
88+
click: handleBrowserForLanguage,
89+
},
9290
],
9391
},
9492
{

0 commit comments

Comments
 (0)