Skip to content

Commit

Permalink
Fix the "Save Image" label ID
Browse files Browse the repository at this point in the history
It was incorrectly `save`, while it should have been `saveImage`.

Fixes #81
  • Loading branch information
sindresorhus committed Aug 8, 2019
1 parent bf760be commit 4c8eb16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare namespace contextMenu {
/**
@default 'Save Image'
*/
readonly save?: string;
readonly saveImage?: string;

/**
@default 'Save Image As…'
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const create = (win, options) => {
}
}),
saveImage: decorateMenuItem({
id: 'save',
id: 'saveImage',
label: 'Save Image',
visible: props.mediaType === 'image',
click(menuItem) {
Expand Down

0 comments on commit 4c8eb16

Please sign in to comment.