trying to fix haptics not working but going to go back and test older version

This commit is contained in:
talksik
2021-12-25 04:30:36 -08:00
parent 781547a35b
commit 29cc87c2f9
@@ -111,6 +111,7 @@ struct CircleGridView: View {
print("activated long press!")
self.selectedFriendIndex = friendId
// TODO: haptics stopped working again
self.activateHaptics()
self.record()
@@ -466,12 +467,11 @@ extension CircleGridView {
// haptics for recording
print("got haptics on")
let impactHeavy = UIImpactFeedbackGenerator(style: .heavy)
impactHeavy.prepare()
impactHeavy.impactOccurred()
}
private func record() {
// call parent view model/environment object vm functions
self.innerCircleVM.startRecording()
}