fix: Business Bank Account Icon on android #85266
fix: Business Bank Account Icon on android #85266samranahm wants to merge 1 commit intoExpensify:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Updates bulk pay menu rendering to better handle business bank account icons that may be provided as numeric assets, aligning behavior with other payment UI paths.
Changes:
- Adds a fallback to the generic
Bankicon whenaccount.iconis a numeric asset. - Avoids setting
iconWidth/iconHeightwhen using the fallback icon.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| description: account.description, | ||
| icon: account.icon, | ||
| icon: typeof account.icon === 'number' ? icons.Bank : account.icon, | ||
| iconStyles: account.iconStyles, |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@ChavdaSachin created a revert, could you please review since there were conflicts? #85279 |
|
@ChavdaSachin Sorry for the delayed response, I'm available now. |
|
@samranahm those changes were also introduced by your PR perhaps. |
|
@ChavdaSachin Those were already available
I just updated the logic to add all the account in list. Please check-out this PR #83638 |
|
Alright. |



Explanation of Change
Fixed Issues
$ #85180
$ #82853
PROPOSAL:
Tests
Offline tests
QA Steps
same as test
// 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
Android: Native
Android.Native.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOs.Chrome.mp4