Skip to content

Enable Swap functionality on iOS - #2594

Merged
MusabShakeel576 merged 1 commit into
masterfrom
claude/blissful-curie-whwta0
Sep 27, 2026
Merged

MusabShakeel576 merged 1 commit into
masterfrom
claude/blissful-curie-whwta0

Conversation

@MusabShakeel576

@MusabShakeel576 MusabShakeel576 commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR removes iOS-specific restrictions that previously disabled the Swap feature on iOS devices. The changes allow users on iOS to access and use the Swap functionality alongside other wallet features.

Key Changes

  • SwapModalProvider.tsx: Removed the platform check that returned null for iOS (except for Buy FUSE)
  • SwapModal.tsx: Removed the iOS platform check that prevented the modal from rendering
  • WalletActions.tsx: Removed the iOS platform restriction from the showSwap condition, allowing the Swap button to display on iOS
  • EarnPointsSection.tsx: Removed the filter that excluded Swap from earning methods on iOS
  • TierFeesTable.tsx: Removed the conditional logic that omitted the Swap row from the fees table on iOS
  • WalletCard.tsx: Updated tooltip text to reference "Swap and Send" for all platforms instead of conditionally showing "Send" only on iOS
  • SwapModalProvider.ios.test.tsx: Updated test expectations to verify that the Swap modal now renders on iOS instead of remaining hidden

Implementation Details

The changes are straightforward removals of platform-specific conditionals that were gating Swap access to non-iOS devices. All references to Platform.OS === 'ios' checks related to Swap availability have been eliminated, making the feature universally available across all platforms.

https://claude.ai/code/session_01KtULm55FhtV8QpE98RAuqC


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Remove the iOS-only gates so Swap is available on every platform: the
SwapModal trigger and SwapModalProvider no longer return null on iOS,
the home Swap pill shows, and the Swaps fee row, Swap earning method and
wallet tooltip copy are no longer hidden on iOS. Geo-restriction and
disclaimer gates are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KtULm55FhtV8QpE98RAuqC
@vercel

vercel Bot commented Sep 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
solid-app Ignored Ignored Sep 27, 2026 12:33pm UTC
solid-app-staging Ignored Ignored Sep 27, 2026 12:33pm UTC

Request Review

@MusabShakeel576
MusabShakeel576 merged commit f4f664e into master Sep 27, 2026
6 of 7 checks passed
@MusabShakeel576
MusabShakeel576 deleted the claude/blissful-curie-whwta0 branch September 27, 2026 12:34
@claude

claude Bot commented Sep 27, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.


🤖 Generated with Claude Code

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