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

[ABW-3630] Fix NFTs collection background refresh #1230

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

danvleju-rdx
Copy link
Contributor

@danvleju-rdx danvleju-rdx commented Jul 19, 2024

Jira ticket: ABW-3630

Description

Fixes an issue where an expanded collection is not updated if it changes after a direct transfer or background refresh.
The solution is to update the collection when the portfolio is updated, but only if the collection is expanded and the nonFungibleIdsCount has changed. This ensures the update occurs only when necessary to avoid resetting pagination.

Video

RocketSim_Recording_iPhone_15_Pro_6.1_2024-07-19_18.02.03.mp4

Copy link
Contributor

@matiasbzurovski matiasbzurovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

RadixWallet/Features/AssetsFeature/AssetsView+Update.swift Outdated Show resolved Hide resolved
Co-authored-by: matiasbzurovski <164921079+matiasbzurovski@users.noreply.github.com>
@GhenadieVP GhenadieVP merged commit ebce15b into main Jul 22, 2024
6 checks passed
@GhenadieVP GhenadieVP deleted the ABW-3630-nfts-colleciton-background-refresh branch July 22, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants