Skip to content

Commit

Permalink
feat: 'always enable' preference no longer shown on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
ksalzke committed Nov 14, 2021
1 parent 6b3c8d7 commit 686f55b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This action allows the user to set the preferences for the plug-in. Currently, t

* **Template Folder** This is the folder where template projects are saved.

* **Always enable action in menu:** If selected, the 'Create From Template' action is always available. Otherwise, it is only available when nothing is selected. _Please note that this setting is device-specific and does not sync between devices._
* **Always enable action in menu (iOS only):** If selected, the 'Create From Template' action is always available. Otherwise, it is only available when nothing is selected. _Please note that this setting is device-specific and does not sync between devices._

* **'Auto-select 'Go to created project' when creating from template** _Please note that this setting is device-specific and does not sync between devices._

Expand Down
2 changes: 1 addition & 1 deletion Templates.omnifocusjs/Resources/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

// create and show form
const prefForm = new Form()
prefForm.addField(new Form.Field.Checkbox('alwaysEnable', 'Always enable action in menu', alwaysEnable))
if (!Device.current.mac) prefForm.addField(new Form.Field.Checkbox('alwaysEnable', 'Always enable action in menu (for iOS)', alwaysEnable))
prefForm.addField(new Form.Field.Checkbox('alwaysGoTo', 'Auto-select \'Go to created project\' when creating from template', alwaysGoTo))
prefForm.addField(new Form.Field.Checkbox('sortLocationsAlphabetically', 'Sort folder/project list alphabetically (instead of in OmniFocus order)', sortLocationsAlphabetically))
prefForm.addField(new Form.Field.Option('templateFolder', 'Template Folder', flattenedFolders, flattenedFolders.map(folder => folder.name), templateFolder, 'Please select'))
Expand Down

0 comments on commit 686f55b

Please sign in to comment.