Skip to content

Commit

Permalink
Rename commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Talal-A committed Sep 1, 2024
1 parent 748a178 commit 64797c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ export default class ObsidianImmich extends Plugin {
await this.loadSettings();

this.addCommand({
id: 'insert-from-immich',
name: 'Insert from Immich',
id: 'insert-from-album',
name: 'Insert from album',
editorCallback: (editor: Editor) => {
new ImageSelectorModal(this.app, editor, this.settings).open();
}
});

this.addCommand({
id: 'force-refresh-immich-cache',
name: 'Refresh immich cache',
id: 'force-refresh-album-cache',
name: 'Refresh album cache',
callback: () => {
refreshCacheFromImmich(this.settings);
}
Expand Down

0 comments on commit 64797c1

Please sign in to comment.