Skip to content

Conversation

@ojokne
Copy link
Member

@ojokne ojokne commented Jun 12, 2025

This PR begins the migration from TouchableOpacity to Pressable, as discussed #2144 (comment). Additional PRs will follow to complete the migration

Changes included

Replaced TouchableOpacity with Pressable in:

  • BlueComponents.js

  • screen/settings/About.tsx

  • screen/settings/IsItMyAddress.tsx

Implementation notes:

Buttons with background:

  • Applied android_ripple feedback on Android (color: "#ccc").

  • Applied opacity: 0.6 on iOS when pressed.

Text-only pressables:

  • Used opacity: 0.6 on both platforms for a consistent visual press effect.

This is a scoped update to a few files to verify if the implementation meets expectations.
Happy to iterate based on feedback before continuing with the broader migration.

Related to: #2144

@ojokne ojokne force-pushed the replace-touchable-opacity-with-pressable branch from 696e848 to 51d3950 Compare June 13, 2025 05:06
@ojokne ojokne requested a review from marcosrdz June 13, 2025 05:21
@ojokne
Copy link
Member Author

ojokne commented Jun 13, 2025

I have removed the inline styles and moved the android ripple color to themes files. Let me know if anything else is needed — ready for re-review

@Overtorment
Copy link
Member

conflicts

@Overtorment
Copy link
Member

@marcosrdz if its good, merge it..?

@marcosrdz
Copy link
Member

@ojokne please solve conflicts

@marcosrdz marcosrdz merged commit c74dd0f into BlueWallet:master Jun 18, 2025
6 of 7 checks passed
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.

3 participants