Skip to content

fix: remove dead TransactionDetailsAddressRow and fix ContextMenu import in ENSIntroSheet#7338

Merged
janicduplessis merged 2 commits intodevelopfrom
@janic/fix-context-menu-import
Apr 14, 2026
Merged

fix: remove dead TransactionDetailsAddressRow and fix ContextMenu import in ENSIntroSheet#7338
janicduplessis merged 2 commits intodevelopfrom
@janic/fix-context-menu-import

Conversation

@janicduplessis
Copy link
Copy Markdown
Contributor

@janicduplessis janicduplessis commented Apr 10, 2026

Fixes APP-3623

What changed (plus any additional context for devs)

Extracted from the new arch migration PR #6924.

  • Removed TransactionDetailsAddressRow — it's dead code, not imported anywhere
  • Fixed ENSIntroSheet which has the same direct .android ContextMenu import that bypasses RN platform resolution, which is required for new arch

What to test

Code only change

@linear
Copy link
Copy Markdown

linear Bot commented Apr 10, 2026

@janicduplessis janicduplessis requested a review from olerass April 10, 2026 20:18
@janicduplessis janicduplessis enabled auto-merge (squash) April 10, 2026 20:18
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 10, 2026

🧪 Flashlight Performance Report (AWS Device Farm)

🔀 Commit: fdbc038

📎 View Artifacts

Metric Current Δ vs Baseline
Time to Interactive (TTI) 2434 ms
Average FPS 59.71
Average RAM 464.6 MB

@github-actions
Copy link
Copy Markdown

Launch in simulator or device for 866b93b

@olerass
Copy link
Copy Markdown
Contributor

olerass commented Apr 13, 2026

It looks like TransactionDetailsAddressRow is actually dead code. We can remove it entirely to kill 2 birds with one stone.

Also, src/features/ens/screens/ENSIntroSheet.tsx looks like it has the same direct .android import and that one is actually live code. was this not an issue in the new arch PR? Regardless might be worth fixing that instead and rm'ing this file?

@janicduplessis janicduplessis changed the title fix: use platform-agnostic ContextMenu import in TransactionDetailsAddressRow fix: remove dead TransactionDetailsAddressRow and fix ContextMenu import in ENSIntroSheet Apr 13, 2026
@janicduplessis
Copy link
Copy Markdown
Contributor Author

Good catch on both! Removed the dead TransactionDetailsAddressRow file and fixed the same .android import in ENSIntroSheet instead.

…dressRow

Import ContextMenu from the barrel export instead of directly from the
.android file. Direct platform-specific imports bypass RN's platform
resolution which is required for new arch.
…ort in ENSIntroSheet

TransactionDetailsAddressRow is dead code (not imported anywhere).
ENSIntroSheet has the same direct .android import that bypasses RN
platform resolution, which is required for new arch.
@janicduplessis janicduplessis force-pushed the @janic/fix-context-menu-import branch from 0a10b75 to e167da8 Compare April 13, 2026 14:18
@github-actions
Copy link
Copy Markdown

Launch in simulator or device for fdbc038

@janicduplessis janicduplessis merged commit c694da9 into develop Apr 14, 2026
25 of 26 checks passed
@janicduplessis janicduplessis deleted the @janic/fix-context-menu-import branch April 14, 2026 12:57
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