add WorkoutIconSelector to select icon and color for a Workout
This commit is contained in:
@@ -22,6 +22,8 @@ final class WorkoutItem: Nameable, Positionable {
|
||||
// EXERCISE
|
||||
var exercise: Exercise?
|
||||
// TODO: Think about what's happening when an exercise (template) is deleted or changed
|
||||
// If it is delete -> we just keep the WorkoutItem with the name :)
|
||||
// The only relevant delete is delete Workout -> Delete Workoutitems
|
||||
// { didSet { self.name = exercise?.name ?? "self.name" } }
|
||||
|
||||
init(_ reps: Int, _ exercise: String) {
|
||||
|
||||
Reference in New Issue
Block a user