There is inconsistent behavior between the handleAction and handleClick methods. Both take an actionConfig (which contains a haptic option) as an argument, but handleAction ignores the haptic option and triggers success haptics without any option of turning them off.
This PR changes this behavior to correctly use the actionConfig.haptic in the handleAction method.
There is inconsistent behavior between the
handleAction
andhandleClick
methods. Both take anactionConfig
(which contains ahaptic
option) as an argument, buthandleAction
ignores the haptic option and triggerssuccess
haptics without any option of turning them off.This PR changes this behavior to correctly use the
actionConfig.haptic
in thehandleAction
method.Related: #61