Add sticky note setting to context

This commit is contained in:
Idrees Hassan
2025-11-13 18:00:06 -05:00
parent d7dca478d6
commit d94e321b66
9 changed files with 67 additions and 12 deletions

View File

@@ -75,6 +75,10 @@ export class Context {
}
return true;
}
areStickyNotesEnabled() {
return true;
}
}
export class LocalContext extends Context {
@@ -239,6 +243,11 @@ class ObsidianContext extends Context {
resetSaveData() {
log("Resetting save data in Obsidian plugin storage unimplemented");
}
/** @override */
areStickyNotesEnabled() {
return false;
}
}
const CONTEXTS = [