Files
Folo/apps
DIYgodandClaude e7c8380647 fix(mobile): prevent incorrect read marking during pull-to-refresh
The entry list was incorrectly marking entries as read during pull-to-refresh
operations. This happened because when the refresh control rebounds from
negative contentOffset back to 0, the scroll direction is detected as "down"
causing entries to be mistakenly marked as read.

The fix adds a condition to only mark entries as read when:
1. Scroll direction is down (user swiping up)
2. Current offset is greater than 0 (not at the top or rebounding)

This ensures entries are only marked as read during genuine upward scrolling,
not during pull-to-refresh rebounds.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 19:37:00 +08:00
..