Compare commits

...

2 Commits

Author SHA1 Message Date
vorotamoroz
dfdfa5383b grammatical fix 2026-05-19 01:55:10 +01:00
vorotamoroz
a08294ab16 fix: Fix an issue about resuming from background on iOS (#888). 2026-05-18 12:30:03 +01:00
3 changed files with 15 additions and 3 deletions

Submodule src/lib updated: a0af792b48...36b99354f6

View File

@@ -121,7 +121,7 @@ export class ModuleObsidianEvents extends AbstractObsidianModule {
return; return;
} }
const isHidden = document.hidden; const isHidden = activeWindow.document.hidden;
if (this.isLastHidden === isHidden) { if (this.isLastHidden === isHidden) {
return; return;
} }
@@ -134,7 +134,7 @@ export class ModuleObsidianEvents extends AbstractObsidianModule {
} else { } else {
// suspend all temporary. // suspend all temporary.
if (this.services.appLifecycle.isSuspended()) return; 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.onResuming();
await this.services.appLifecycle.onResumed(); await this.services.appLifecycle.onResumed();
} }

View File

@@ -3,6 +3,18 @@ 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. 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 the error verbosity on concurrent processing during the start-up process.
### Fixed
- Fix an issue about resuming from background on iOS (#888).
## 0.25.64 ## 0.25.64
17th May, 2026 17th May, 2026