()
| 1646 | } |
| 1647 | |
| 1648 | async openTaskEditModalForCurrentTask(): Promise<void> { |
| 1649 | const activeFile = this.app.workspace.getActiveFile(); |
| 1650 | if (!activeFile) { |
| 1651 | new Notice("No file is currently open"); |
| 1652 | return; |
| 1653 | } |
| 1654 | |
| 1655 | await this.openTaskEditModalForFile(activeFile, "Current file is not a tasknote"); |
| 1656 | } |
| 1657 | |
| 1658 | async cycleCurrentTaskStatus(): Promise<void> { |
| 1659 | try { |
no test coverage detected