Skip to content

Commit

Permalink
Fixed save haptic not playing (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricBAndrews authored Jan 28, 2024
1 parent f7e5df2 commit f8d3e55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mlem/Models/Content/Post Model.swift
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ class PostModel: ContentIdentifiable, ObservableObject {
}

func toggleSave(upvoteOnSave: Bool) async {
hapticManager.play(haptic: .success, priority: .high)
let shouldSave: Bool = !saved

// state fake
Expand Down

0 comments on commit f8d3e55

Please sign in to comment.