(app: App, plugin: TaskNotesPlugin)
| 21 | private plugin: TaskNotesPlugin; |
| 22 | |
| 23 | constructor(app: App, plugin: TaskNotesPlugin) { |
| 24 | super(); |
| 25 | this.app = app; |
| 26 | this.plugin = plugin; |
| 27 | this.loadFromStorage(); |
| 28 | this.loadPreferencesFromStorage(); |
| 29 | // Note: migrateAndLoadSavedViews() is async and called separately during initialization |
| 30 | this.savedViews = [...this.plugin.settings.savedViews]; |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Initialize saved views with migration support (call this after construction) |
nothing calls this directly
no test coverage detected