fix: old timeout should be updated so we delete the key

This commit is contained in:
Mara 2025-11-06 23:58:39 +01:00
parent 694258af50
commit bc32dce1b0

View file

@ -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,