Skip to content

Commit c7e2f65

Browse files
thetaPCShaneK
andauthored
Update core/src/components/toggle/toggle.tsx
Co-authored-by: Shane <[email protected]>
1 parent 5c32966 commit c7e2f65

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

core/src/components/toggle/toggle.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,9 @@ export class Toggle implements ComponentInterface {
249249

250250
private onClick = (ev: MouseEvent) => {
251251
/**
252-
* The haptics for the toggle is
253-
* an iOS-only feature when tapped.
254-
* As a result, it should be
255-
* disabled on Android.
252+
* The haptics for the toggle on tap is
253+
* an iOS-only feature. As such, it should
254+
* only trigger on iOS.
256255
*/
257256
const enableHaptics = isPlatform('ios');
258257

0 commit comments

Comments
 (0)