Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated SwipeRefresh with recomended PullRefreshIndicator and implement pull to refresh for Feeds Page. #850

Merged
merged 4 commits into from
Oct 14, 2024

Conversation

yajaru
Copy link
Contributor

@yajaru yajaru commented Oct 8, 2024

SwipeRefresh library is deprecated (see https://google.github.io/accompanist/swiperefresh/) so this change is to switch over to using the recommended replacement (PullRefreshIndicator and friends) for pull to refresh.

I also implemented pull to refresh on the Feeds page and removed the refresh button there as it is now redundant.

@JunkFood02
Copy link
Collaborator

See #722, maybe we'll need to migrate to androidx.compose.material3.pulltorefresh instead of the md2 one

@JunkFood02 JunkFood02 self-requested a review October 9, 2024 10:22
@yajaru
Copy link
Contributor Author

yajaru commented Oct 9, 2024

Missed that; I'll see about switching over to the new version and updating the PR.

@JunkFood02 JunkFood02 linked an issue Oct 14, 2024 that may be closed by this pull request
@JunkFood02
Copy link
Collaborator

lgtm, thx!

@JunkFood02 JunkFood02 merged commit 2408780 into Ashinch:main Oct 14, 2024
2 checks passed
@yajaru yajaru deleted the master branch November 13, 2024 20:48
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.

Migrate to androidx.compose.material3.pulltorefresh
2 participants