OutdatedGuy / Whats-That-Anime

A Flutter application to search for Anime details for images/screenshots
https://whats-that-anime.outdatedguy.rocks
GNU Affero General Public License v3.0
1 stars 0 forks source link

History Page Pagination Duplicates Last Item #16

Open OutdatedGuy opened 2 years ago

OutdatedGuy commented 2 years ago

Describe the bug The history page when having more than 5 items will duplicate last elements several times before loading new ones.

To Reproduce Steps to reproduce the behavior:

  1. Go to Home Page
  2. Make 10 different image searches
  3. Go to history page
  4. Scroll down to load more items
  5. 5th item is duplicated
  6. Go at the very end of history page
  7. Go to settings page
  8. Come back to history page
  9. See last record duplicated multiple times

Expected behavior All records/items only appear once.

Screenshots image

Device (please complete the following information):

Additional context Problem is related to the misuse of paginate_firestore package.