mirror of
https://github.com/tmfelwu/obsidian-inbox.git
synced 2026-07-22 07:40:30 +00:00
deduplication
This commit is contained in:
parent
fd19736486
commit
f646d16c21
1 changed files with 1 additions and 10 deletions
11
main.ts
11
main.ts
|
|
@ -28,6 +28,7 @@ class TextInputModal extends Modal {
|
|||
}
|
||||
|
||||
export default class QuickCaptureToNotePlugin extends Plugin {
|
||||
|
||||
async onload() {
|
||||
this.addCommand({
|
||||
id: 'quick-capture-to-note',
|
||||
|
|
@ -35,16 +36,6 @@ export default class QuickCaptureToNotePlugin extends Plugin {
|
|||
callback: () => this.openCaptureModal(),
|
||||
});
|
||||
|
||||
this.registerObsidianProtocolHandler('quick-capture', () => {
|
||||
this.openCaptureModal();
|
||||
});
|
||||
} async onload() {
|
||||
this.addCommand({
|
||||
id: 'quick-capture-to-note',
|
||||
name: 'Quick Capture to Note',
|
||||
callback: () => this.openCaptureModal(),
|
||||
});
|
||||
|
||||
this.registerObsidianProtocolHandler('quick-capture', () => {
|
||||
this.openCaptureModal();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue