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:
@@ -85,6 +85,8 @@ struct ZapButton: View {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
|
||||||
|
|
||||||
switch res {
|
switch res {
|
||||||
case .send_err(let cancel_err):
|
case .send_err(let cancel_err):
|
||||||
switch cancel_err {
|
switch cancel_err {
|
||||||
|
|||||||
Reference in New Issue
Block a user