Add haptic feedback to header view tab switcher to match home/notifications

This commit is contained in:
Shadowfacts 2021-11-07 18:22:21 -05:00
parent 1ec85ca095
commit 2df703ab71
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ class ProfileHeaderView: UIView {
@IBAction func postsSegmentedControlChanged(_ sender: UISegmentedControl) {
delegate?.profileHeader(self, selectedPostsIndexChangedTo: sender.selectedSegmentIndex)
UIImpactFeedbackGenerator(style: .light).impactOccurred()
}
}