Repository navigation
[No QA] MenuItem decomposition - remove unused rootWrapperStyle - #103035
roryabraham merged 1 commit into
Conversation
No call site passes it, so the wrapping View always received undefined.
b006ff1 to
9cf17af
Compare
wrapperStylerootWrapperStyle
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
PR doesn’t need product input as a refactor PR. Unassigning and unsubscribing myself. |
|
🚧 roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.5.6-0 🚀
|
|
No help site update is needed. This PR only removes an unused internal |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.5.6-6 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Removes the
rootWrapperStyleprop from the legacyMenuItem. No call site passes it, so the wrappingViewalways receivedundefined. This is part of the Phase 4 style-prop cleanup of theMenuItemdecomposition.Fixed Issues
$ #100159
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
N/A, there is no behavior change (the removed prop had no callers).
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari