diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-22 10:21:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-22 10:21:48 +0300 |
| commit | d9552904112d0ab86e961b6d8b0844619ce1005a (patch) | |
| tree | 701a8f97e5cb816b77a03f4d809d2ccefffc2904 /player-android/android/app/src/debug | |
| parent | dc5efbcf0e83fae3c1c9892975dedd9eedef6e39 (diff) | |
Fix gb review issues: _isLoadingMore stuck on refresh, empty footer space, pagination tests
- Reset _isLoadingMore = false inside _load()'s setState in both
MediaGridScreen and PodcastEpisodesScreen, so a generation-mismatch
early return in an in-flight _loadMore does not leave the spinner
permanently stuck after a pull-to-refresh (major bug fix).
- Replace the empty Text('') with SizedBox.shrink() in
_buildFooterSliver when hasMore=true and isLoadingMore=false to
eliminate the 32px dead space (nit fix).
- Add three pagination widget tests to each screen: _loadMore appends
a second page, _loadMore is a no-op while already in-flight, and
pull-to-refresh while _loadMore is in-flight leaves _isLoadingMore=false
after _load completes (regression coverage for the major bug).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'player-android/android/app/src/debug')
0 files changed, 0 insertions, 0 deletions
