Definisi 01596c045a fix: Apply active filters to chapter count display (Closes #1793) (#1797)
* fix: Apply active filters to chapter count display (Closes #1793)

getChapterCount was always returning the total count regardless of
the active filter. When filtering by unread/downloaded/bookmarked,
the count shown in the novel header stayed the same as the total.

Added an optional filter parameter to getChapterCount and pass the
current settingsFilter from useNovel so the displayed count matches
the filtered chapter list.

* fix lint warning and add tests for filtered chapter count

- Use settingsFilter instead of novelSettings.filter in useNovel
  to fix the react-hooks/exhaustive-deps warning
- Add tests for getChapterCount with filter parameter
- Update chapterFilterToSQL mock in test setup to actually apply
  filter conditions so filtered count tests work correctly
2026-04-13 20:39:48 +02:00
2026-04-05 21:39:52 +02:00
2022-04-08 08:19:52 +05:30
2026-04-05 21:39:52 +02:00
2025-05-25 16:39:18 +07:00
2024-11-04 20:21:22 +05:30
2025-10-23 16:39:11 +05:30
2025-05-11 15:46:16 +07:00
2021-03-09 20:12:46 +05:30
2026-04-05 21:39:52 +02:00

LNReader

LNReader is a free and open source light novel reader for Android, inspired by Tachiyomi.

Download

GitHub release (latest by date) GitHub release (latest SemVer)

Get the app from our releases page.

Android 7.0 or higher.

Screenshots

Plugins

LNReader does not have any affiliation with the content providers available.

Plugin requests should be created at lnreader-plugins.

Translation

Help translate LNReader into your language on Crowdin.

Building & Contributing

See CONTRIBUTING.md

License

MIT

S
Description
LNReader fork with an iOS build (SideStore) and the open-lab plugin repository preconfigured
Readme 30 MiB
Languages
TypeScript 73%
C++ 17.8%
Kotlin 4.4%
JavaScript 3.4%
Swift 0.6%
Other 0.7%