diff --git a/manifest.json b/manifest.json index d6cbab5..609e428 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-livesync", "name": "Self-hosted LiveSync", - "version": "0.18.2", + "version": "0.18.3", "minAppVersion": "0.9.12", "description": "Community implementation of self-hosted livesync. Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.", "author": "vorotamoroz", diff --git a/package-lock.json b/package-lock.json index 9d6f613..287adaf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-livesync", - "version": "0.18.2", + "version": "0.18.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "obsidian-livesync", - "version": "0.18.2", + "version": "0.18.3", "license": "MIT", "dependencies": { "diff-match-patch": "^1.0.5", diff --git a/package.json b/package.json index 99a02fb..3329f5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-livesync", - "version": "0.18.2", + "version": "0.18.3", "description": "Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.", "main": "main.js", "type": "module", diff --git a/src/CmdHiddenFileSync.ts b/src/CmdHiddenFileSync.ts index a075bc3..62631ba 100644 --- a/src/CmdHiddenFileSync.ts +++ b/src/CmdHiddenFileSync.ts @@ -337,7 +337,7 @@ export class HiddenFileSync extends LiveSyncCommands { await this.kvDB.set("diff-caches-internal", caches); // When files has been retrieved from the database. they must be reloaded. - if (direction == "pull" || direction == "pullForce" && filesChanged != 0) { + if ((direction == "pull" || direction == "pullForce") && filesChanged != 0) { const configDir = normalizePath(this.app.vault.configDir); // Show notification to restart obsidian when something has been changed in configDir. if (configDir in updatedFolders) { diff --git a/updates.md b/updates.md index db08fbb..bf86ee1 100644 --- a/updates.md +++ b/updates.md @@ -18,6 +18,8 @@ Note: **When changing this configuration, we need to rebuild both of the local a - The setting pane has been refined. - We can enable `hidden files sync` with several initial behaviours; `Merge`, `Fetch` remote, and `Overwrite` remote. - No longer `Touch hidden files`. +- 0.18.3 + - Fixed Pop-up is now correctly shown after hidden file synchronisation. ### 0.17.0 - 0.17.0 has no surfaced changes but the design of saving chunks has been changed. They have compatibility but changing files after upgrading makes different chunks than before 0.16.x.