mirror of
https://github.com/mara-li/obsidian-simple-colored-folder.git
synced 2026-07-22 05:46:20 +00:00
fix: old timeout should be updated so we delete the key
This commit is contained in:
parent
694258af50
commit
bc32dce1b0
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ export default class SimpleColoredFolder extends Plugin {
|
|||
}
|
||||
async loadSettings() {
|
||||
const loadedData = await this.loadData();
|
||||
if (loadedData.timeout instanceof Number) delete loadedData.timeout;
|
||||
try {
|
||||
this.settings = merge(
|
||||
DEFAULT_SETTINGS,
|
||||
|
|
|
|||
Loading…
Reference in a new issue