···11import React from 'react'
22+import * as Device from 'expo-device'
23import {impactAsync, ImpactFeedbackStyle} from 'expo-haptics'
3445import {isIOS, isWeb} from '#/platform/detection'
56import {useHapticsDisabled} from '#/state/preferences/disable-haptics'
77+import * as Toast from '#/view/com/util/Toast'
6879export function useHaptics() {
810 const isHapticsDisabled = useHapticsDisabled()
···1820 ? ImpactFeedbackStyle[strength]
1921 : ImpactFeedbackStyle.Light
2022 impactAsync(style)
2323+2424+ // DEV ONLY - show a toast when a haptic is meant to fire on simulator
2525+ if (__DEV__ && !Device.isDevice) {
2626+ Toast.show(`Buzzz!`)
2727+ }
2128 },
2229 [isHapticsDisabled],
2330 )