Skip to content

Commit

Permalink
Fix vibration duration on iOS
Browse files Browse the repository at this point in the history
Fixes #61063
  • Loading branch information
timoschwarzer committed May 16, 2022
1 parent 396def9 commit 05d524b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/iphone/ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
NSDictionary *hapticDict = @{
CHHapticPatternKeyPattern : @[
@{CHHapticPatternKeyEvent : @{
CHHapticPatternKeyEventType : CHHapticEventTypeHapticTransient,
CHHapticPatternKeyEventType : CHHapticEventTypeHapticContinuous,
CHHapticPatternKeyTime : @(CHHapticTimeImmediate),
CHHapticPatternKeyEventDuration : @(p_duration_seconds)
},
Expand Down

0 comments on commit 05d524b

Please sign in to comment.