Replace platform-specific icon usage with platformPrefixIconName helper #7313
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This PR addresses the remaining items from issue #3461 by replacing all direct platform-specific icon usage with the centralized
platformPrefixIconNamehelper function introduced in PR #3459.Problem
Throughout the codebase, icons were being handled with direct platform checks like:
This pattern was repeated across multiple files, leading to code duplication and inconsistent icon handling.
Solution
Replaced all remaining platform-specific icon usage with calls to the
platformPrefixIconNamehelper:Files Changed
Updated 10 files across the codebase:
Benefits
The helper function intelligently chooses the correct icon variant based on platform availability, ensuring consistent behavior across iOS and Android while maintaining all existing functionality.
Closes #3461
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
downloads.sentry-cdn.comnode ./scripts/install.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.