mirror of
git://jb55.com/damus
synced 2024-09-19 19:46:51 +00:00
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:
parent
02d99f7340
commit
122b528407
@ -85,6 +85,8 @@ struct ZapButton: View {
|
||||
return
|
||||
}
|
||||
|
||||
UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
|
||||
|
||||
switch res {
|
||||
case .send_err(let cancel_err):
|
||||
switch cancel_err {
|
||||
|
Loading…
Reference in New Issue
Block a user