-
released this
2026-07-27 20:56:22 -06:00 | 4 commits to master since this releaseBug Fix: False offline modifications
Problem
While offline, simply viewing pages would cause the app to queue false changes. When internet returned, these changes were sent to the server, renaming page titles to "untitled".
Root Cause
- Markdown round-trip (Kotlin extractText → JS markdownToBlocks → blocksToMarkdown) produced different output, triggering false auto-saves
onAutoSavefired even in read-only mode (hidden editor)- When pressing back,
nulltitle was passed to save operations, which converted to empty string, causing server to set title to "untitled" - JS
_pendingSetflag was cleared prematurely, allowingonChangeto fire during content load
Fixes
- JS: Removed premature
_pendingSetclearing inonReadycallback; increased timeout to 500ms - Kotlin:
onAutoSavenow respectsisEditorReadOnly- no auto-save in read-only mode - Kotlin: Save operations always pass current title (never null) to prevent empty title on server
- Kotlin: Added
isContentLoadingflag to suppressonContentChangedduring initial content load - Added APK versioned naming for Obtanium compatibility
Downloads