Skip to content

Commit

Permalink
fix: Missing capitalization of command names
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored May 9, 2024
1 parent 26e9adf commit 6d20433
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,25 @@ export default class AdvancedURI extends Plugin {

this.addCommand({
id: "copy-uri-current-file",
name: "copy URI for file with options",
name: "Copy URI for file with options",
callback: () => this.handlers.handleCopyFileURI(false),
});

this.addCommand({
id: "copy-uri-current-file-simple",
name: "copy URI for current file",
name: "Copy URI for current file",
callback: () => this.handlers.handleCopyFileURI(true),
});

this.addCommand({
id: "copy-uri-daily",
name: "copy URI for daily note",
name: "Copy URI for daily note",
callback: () => new EnterDataModal(this).open(),
});

this.addCommand({
id: "copy-uri-search-and-replace",
name: "copy URI for search and replace",
name: "Copy URI for search and replace",
callback: () => {
const fileModal = new FileModal(
this,
Expand All @@ -92,7 +92,7 @@ export default class AdvancedURI extends Plugin {

this.addCommand({
id: "copy-uri-command",
name: "copy URI for command",
name: "Copy URI for command",
callback: () => {
const fileModal = new FileModal(
this,
Expand All @@ -107,7 +107,7 @@ export default class AdvancedURI extends Plugin {

this.addCommand({
id: "copy-uri-block",
name: "copy URI for current block",
name: "Copy URI for current block",
checkCallback: (checking) => {
const view =
this.app.workspace.getActiveViewOfType(MarkdownView);
Expand Down

0 comments on commit 6d20433

Please sign in to comment.