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

IOS-8666 [Balance caching] #4532

Merged
merged 8 commits into from
Jan 27, 2025
Merged

Conversation

Balashov152
Copy link
Contributor

4 / 4
Код остался тот же что и на демо, еще раз все протестил, все ок
но все равно гляньте плиз свои части в приле с балансами. Что бы MR не казался таким большим для вас )

@fedorov-d - по staking
@m3g0byt3 - по organize tokens
@Andoran90 - по visa
@skibinalexander - по wallet selector
@ViacheslavEfimenko - по action buttons

Fix review 1

Update `TotalBalanceProvider`

Update TotalBalanceProvider.swift

Update TotalBalanceProvider.swift

Fix review 2

Update CommonExpressDestinationService.swift

Revert "IOS-8907 [SQ] Add balance providers"

This reverts commit 0d76749.

IOS-8907 [SQ] Add balance providers

IOS-8666 Regroup

IOS-8907 Revert `walletDidChangePublisher `

IOS-8907 Update `BalanceProvider`

IOS-8907 Update FormattedTokenBalanceType.swift

IOS-8907 IOS-8666 Update `WalletModel+State`

Fix review 3
Comment on lines +214 to +220
lazy var availableBalanceProvider = makeAvailableBalanceProvider()
lazy var stakingBalanceProvider = makeStakingBalanceProvider()
lazy var totalTokenBalanceProvider = makeTotalTokenBalanceProvider()

lazy var fiatAvailableBalanceProvider = makeFiatAvailableBalanceProvider()
lazy var fiatStakingBalanceProvider = makeFiatStakingBalanceProvider()
lazy var fiatTotalTokenBalanceProvider = makeFiatTotalTokenBalanceProvider()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Перенес сюда что бы сделать lazy и что бы не нужно было анприватить tokenRepository

Copy link
Collaborator

@tureck1y tureck1y left a comment

Choose a reason for hiding this comment

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

🤞

@Balashov152 Balashov152 merged commit ed08244 into develop Jan 27, 2025
6 of 9 checks passed
@Balashov152 Balashov152 deleted the feature/IOS-8666-Balance-caching-3 branch January 27, 2025 15:55
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.

6 participants