-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: [IOAPPX-474] Add haptic feedback to the main cards in the Services
section
#6646
Conversation
Jira Pull Request LinkThis Pull Request refers to Jira issues: |
PR Title Validation for conventional commit type✅ All good! PR title follows the conventional commit type. |
Services
sectionServices
section
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6646 +/- ##
==========================================
- Coverage 49.60% 49.59% -0.01%
==========================================
Files 1543 1543
Lines 32127 32132 +5
Branches 7285 7238 -47
==========================================
+ Hits 15936 15937 +1
- Misses 16140 16157 +17
+ Partials 51 38 -13
... and 13 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
const handleOnPress = useCallback( | ||
(event: GestureResponderEvent) => { | ||
if (onPress) { | ||
ReactNativeHapticFeedback.trigger("impactLight"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ReactNativeHapticFeedback.trigger("impactLight"); | |
ReactNativeHapticFeedback.trigger(HapticFeedbackTypes.impactLight); |
Short description
This PR adds the haptic feedback to the main cards visible in the
Services
section.List of changes proposed in this pull request
handleOnPress
function to theCardPressableBase
How to test