Add rigid haptic feedback when you zap cancel fails

This feels different than the soft haptic feedback so it should let
people know that cancelling is no longer possible
This commit is contained in:
William Casarin committed 2023-05-14 10:49:54 -07:00
1 parent 02d99f7340
commit 122b528407
1 file changed
+2
+2
View File
@@ -85,6 +85,8 @@ struct ZapButton: View {
return
}
UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
switch res {
case .send_err(let cancel_err):
switch cancel_err {