diff --git a/src/lib b/src/lib index a0af792..36b9935 160000 --- a/src/lib +++ b/src/lib @@ -1 +1 @@ -Subproject commit a0af792b48e6e7a5b14d7ee932b81796b65bd497 +Subproject commit 36b99354f63e0e3a59df460a61386ff6c32b4660 diff --git a/src/modules/essentialObsidian/ModuleObsidianEvents.ts b/src/modules/essentialObsidian/ModuleObsidianEvents.ts index 7445e11..33f0485 100644 --- a/src/modules/essentialObsidian/ModuleObsidianEvents.ts +++ b/src/modules/essentialObsidian/ModuleObsidianEvents.ts @@ -121,7 +121,7 @@ export class ModuleObsidianEvents extends AbstractObsidianModule { return; } - const isHidden = document.hidden; + const isHidden = activeWindow.document.hidden; if (this.isLastHidden === isHidden) { return; } @@ -134,7 +134,7 @@ export class ModuleObsidianEvents extends AbstractObsidianModule { } else { // suspend all temporary. if (this.services.appLifecycle.isSuspended()) return; - if (!this.hasFocus) return; + // Do not block resume by focus state here; visibility recovery should be enough. await this.services.appLifecycle.onResuming(); await this.services.appLifecycle.onResumed(); } diff --git a/updates.md b/updates.md index 8a4e9e6..96c48d2 100644 --- a/updates.md +++ b/updates.md @@ -3,6 +3,19 @@ Since 19th July, 2025 (beta1 in 0.25.0-beta1, 13th July, 2025) The head note of 0.25 is now in [updates_old.md](https://github.com/vrtmrz/obsidian-livesync/blob/main/updates_old.md). Because 0.25 got a lot of updates, thankfully, compatibility is kept and we do not need breaking changes! In other words, when get enough stabled. The next version will be v1.0.0. Even though it my hope. + +## Unreleased + +18th May, 2026 + +### Improved +- Improved an error verbosity on concurrent processing on start-up process. + +### Fixed + +- Fix an issue about resuming from background on iOS (#888). + + ## 0.25.64 17th May, 2026