forked from shadowfacts/Tusker
Add haptic feedback to profile follow button
This commit is contained in:
parent
fa31c28e92
commit
169f1a0191
|
@ -293,6 +293,7 @@ class ProfileHeaderView: UIView {
|
|||
}
|
||||
followButton.configuration!.showsActivityIndicator = true
|
||||
followButton.isEnabled = false
|
||||
UIImpactFeedbackGenerator(style: .light).impactOccurred()
|
||||
Task {
|
||||
do {
|
||||
let (relationship, _) = try await mastodonController.run(req)
|
||||
|
|
Loading…
Reference in New Issue