Skip to content

fix: PullToRefreshBox not working on empty FilesList (#95)#96

Merged
Raival-e merged 1 commit intoRaival-e:masterfrom
ilonachan:master
May 31, 2025
Merged

fix: PullToRefreshBox not working on empty FilesList (#95)#96
Raival-e merged 1 commit intoRaival-e:masterfrom
ilonachan:master

Conversation

@ilonachan
Copy link
Copy Markdown
Contributor

About the most basic fix for this possible: the outer Box and PullToRefreshBox layouts should always be top-level, so I moved them out of the else branch (along with the loading indicator). I changed the "Empty" text to use a layout more analogous to the loading indicator, and removed the else branch where the latter was duplicated. However, I had to put the "Empty" box before the grid in the code, so it would be behind the list so as to not block interactions.

@Raival-e Raival-e merged commit 70557d2 into Raival-e:master May 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants