heyjaywilson / peakfit

Strength exercise iOS app written in Swift
Apache License 2.0
16 stars 11 forks source link

fix(exercises): :bug: Swiping to delete an exercise only deletes the exercise from the list and not from the app #69

Open samuelsainz opened 3 weeks ago

samuelsainz commented 3 weeks ago

Description

When deleting an exercise from the list using the swipe gesture, the exercise was not only deleted from the list but from the "All exercises" list.

Fixing it so it only deletes the exercise from the list but it is still available to be used again in any of the lists.

Related Issue

Closes #68

How Has This Been Tested?

When deleting an exercise from the list, if you then go check the list of exercises, the exercise is still there.

Screenshots (if appropriate):

N/A

Types of changes

Checklist: