worldhopper/lib/services
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felipe M. bb579719f9
All checks were successful
ci/woodpecker/pr/pr Pipeline was successful
fix: prevent double-save on exit, surface KOReader sync auth failures
- Add guard flag to prevent both onPopInvokedWithResult and dispose()
  from saving progress (double DB writes + double sync pushes)
- Capture ref-dependent values synchronously in _saveProgress before
  any await to prevent accessing disposed ref after super.dispose()
- Guard ref.invalidate() calls with mounted check for dispose safety
- Add KoreaderSyncAuthException so 401 errors in getProgress and
  updateProgress propagate instead of being silently swallowed
- Show a warning snackbar (once per session) when auth fails so the
  user knows sync credentials need updating

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 00:12:06 +01:00
..
auth_service.dart Basic app navigation and OPDS implementation 2026-01-26 20:03:56 +01:00
connectivity_service.dart ci: fixed format command in ci 2026-02-12 19:18:31 +01:00
epub_download_service.dart feat: eink-mode (#1) 2026-02-12 22:25:38 +01:00
image_cache_service.dart feat: eink-mode (#1) 2026-02-12 22:25:38 +01:00
koreader_sync_service.dart fix: prevent double-save on exit, surface KOReader sync auth failures 2026-02-17 00:12:06 +01:00
offline_content_checker.dart feat: implement internet connectivity tracking with offline indicators 2026-01-28 20:13:21 +01:00
opds_parser.dart ci: fixed format command in ci 2026-02-12 19:18:31 +01:00
opds_service.dart ci: fixed format command in ci 2026-02-12 19:18:31 +01:00
url_helper.dart Basic app navigation and OPDS implementation 2026-01-26 20:03:56 +01:00