From 169f1a0191f2646c58af4c893f6697beb99ec52d Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Fri, 23 Dec 2022 11:19:37 -0500 Subject: [PATCH] Add haptic feedback to profile follow button --- Tusker/Views/Profile Header/ProfileHeaderView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tusker/Views/Profile Header/ProfileHeaderView.swift b/Tusker/Views/Profile Header/ProfileHeaderView.swift index 244f66dc..4a1b88d0 100644 --- a/Tusker/Views/Profile Header/ProfileHeaderView.swift +++ b/Tusker/Views/Profile Header/ProfileHeaderView.swift @@ -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)