Skip to content

Align all seed count call sites to use balanceAmount#1049

Merged
d4r1091 merged 2 commits intodc-mob-4179-update-balancefrom
copilot/sub-pr-1048
Feb 20, 2026
Merged

Align all seed count call sites to use balanceAmount#1049
d4r1091 merged 2 commits intodc-mob-4179-update-balancefrom
copilot/sub-pr-1048

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 20, 2026

EcosiaAuthUIStateProvider was updated to display seeds.balanceAmount, but EcosiaAccountAvatarViewModel and AccountsService logging still read seeds.totalAmount, causing UI and telemetry to be out of sync.

Changes

  • EcosiaAccountAvatarViewModelupdateFromBalanceResponse now reads response.seeds.balanceAmount instead of totalAmount
  • AccountsService — network log line updated to use seeds.balanceAmount
// Before
let newSeedCount = response.seeds.totalAmount

// After
let newSeedCount = response.seeds.balanceAmount

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: d4r1091 <3584008+d4r1091@users.noreply.github.com>
Copilot AI changed the title [WIP] Update balancing account seeds alignment based on feedback Align all seed count call sites to use balanceAmount Feb 20, 2026
Copilot AI requested a review from d4r1091 February 20, 2026 12:27
@d4r1091 d4r1091 marked this pull request as ready for review February 20, 2026 12:53
@d4r1091 d4r1091 merged commit 7db3e57 into dc-mob-4179-update-balance Feb 20, 2026
@d4r1091 d4r1091 deleted the copilot/sub-pr-1048 branch February 20, 2026 12:53
d4r1091 added a commit that referenced this pull request Feb 20, 2026
* [MOB-4179] Update Seeds with balance account

* Align all seed count call sites to use `balanceAmount` (#1049)

* Initial plan

* Align all seed count call sites to use balanceAmount

Co-authored-by: d4r1091 <3584008+d4r1091@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: d4r1091 <3584008+d4r1091@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: d4r1091 <3584008+d4r1091@users.noreply.github.com>
d4r1091 added a commit that referenced this pull request Mar 2, 2026
* [MOB-4179] Update Seeds with balance account

* Align all seed count call sites to use `balanceAmount` (#1049)

* Initial plan

* Align all seed count call sites to use balanceAmount

Co-authored-by: d4r1091 <3584008+d4r1091@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: d4r1091 <3584008+d4r1091@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: d4r1091 <3584008+d4r1091@users.noreply.github.com>
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