Show correct currency when selecting linked feeds#93331
Conversation
Function can be called without a card, with card settings only
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@ahmedGaber93 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c6be59dd33
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| // The selected feed can belong to a different policy/domain than the one being viewed | ||
| // (e.g. a US feed linked to a GBP policy), so derive the currency from the feed itself. | ||
| if (fundID && cardSettings) { | ||
| return getCardOrFeedCurrency(undefined, cardSettings); |
There was a problem hiding this comment.
Preserve policy currency when feed settings lack currency
When a GBP/EUR workspace's selected feed settings have loaded but don't include the optional currency field (for example legacy/nested GB settings), this branch returns getCardOrFeedCurrency(undefined, cardSettings). With no card, that helper has no feedCountry, so after failing to find settings.currency it falls through to USD instead of the previous policy.outputCurrency; the list and issue-card flow will display and store USD for that GBP/EUR feed. Please fall back to the policy currency or infer the program from settings when the feed settings don't carry a currency.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
don't include the optional currency field (for example legacy/nested GB settings)
AFAIK this is not a real thing, there are no "legacy" GB settings, the program hasn't even launched yet
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good for product 👍
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safarius.feed.on.gbp.workspace.works.mp4 |
|
Because the checklist has already been filled out, I will skip reviewing this PR. Thanks for your help, @chuckdries |
|
🚧 @chuckdries has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/chuckdries in version: 9.4.8-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 No help site changes required. This PR is an internal bug fix: it corrects the currency displayed on the Expensify Card issuing screen when a selected feed belongs to a workspace/domain denominated in a different currency than the default workspace (e.g. selecting a USD feed under a GBP workspace now shows There is no new feature, UI element, tab, setting, or workflow change — the fix makes existing balance/limit display match the actual feed currency, consistent with what the Wallet page already showed. I reviewed If you believe a customer-facing article should be added or updated to explain multi-currency feed behavior, let me know and I'll draft it. |
|
🚀 Deployed to staging by https://github.com/chuckdries in version: 9.4.8-0 🚀
Bundle Size Analysis (Sentry): |
|
Hi @rafecolton @joekaufmanexpensify For some reason we can't create a GBP bank account. It's currently pending verification with Expensify. Are we missing something? Probably internal QA. Thanks
|
|
@izarutskaya We are still working on allowing y'all to test UK/EU expensify cards. Paging @joekaufmanexpensify to test this in mean time, as per PR description |
|
Working on QA 👍 |
|
QA passed. Working well! Checked it off. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.4.8-3 🚀
|

Explanation of Change
Fixed Issues
$ #93332
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
Same as tests. Optionally, add a USD domain or workspace feed to an account that is already set up for GBP - no need to set up a new GBP account. (Assign to @joekaufmanexpensify)
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
MacOS: Chrome / Safari
Screen.Recording.2026-06-11.at.4.34.40.PM.mov