mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-25 04:07:23 +00:00
Add sticky note setting to context
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user