readest/apps
Huang Xin fdd13a5a6a
fix(reader): guard applyMarginAndGap against a torn-down view (#5022)
applyMarginAndGap re-fetches getViewSettings(bookKey) with a non-null assertion,
but it runs from effects/observers that can fire after the book is torn down,
when getViewSettings returns null. The `!` hid that, so getViewInsets /
viewSettings.showHeader threw "Cannot read properties of null (reading
'showHeader')" (READEST-2V). Bail when there is no view left to lay out.

Fixes READEST-2V

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 09:03:29 +02:00
..
readest-app fix(reader): guard applyMarginAndGap against a torn-down view (#5022) 2026-07-09 09:03:29 +02:00
readest-calibre-plugin feat(calibre): add Readest calibre plugin to push books and metadata (#4918) 2026-07-04 16:40:16 +02:00
readest.koplugin perf(koplugin): defer and cache Library group covers (#4954) (#4974) 2026-07-06 17:55:51 +02:00