nekomangaorg / Neko

Unofficial MangaDex Reader for Android 7+
Apache License 2.0
2.29k stars 119 forks source link

Hide library entries does not load data if disabled before the search #1983

Open lilydull opened 5 days ago

lilydull commented 5 days ago

Steps to reproduce

  1. Have the hide library entries filter disabled
  2. Do a search where all of the loaded results are already in your library
  3. Turn the hide library entries filter on

https://github.com/user-attachments/assets/87bf4298-cd94-4806-a1b0-f5e02af20d86

Expected behavior

Load a page of results not in your library

Actual behavior

Nothing is loaded

Crash logs

No response

Neko version

2.18.2

Android version

Android 13

Device

OnePlus 8 Pro

Other details

No response

Acknowledgements

lilydull commented 1 day ago

I found another edge case here, it looks like if the first page has results when the filter is turned on and then the next page does not have any results not in your library it will stop loading new results in

https://github.com/user-attachments/assets/f05f9ae1-7ea0-4032-99c1-3d6bac9fbeff