GideonNeedleman / 5x5

0 stars 0 forks source link

GideonNeedleman/issue117 #119

Closed GideonNeedleman closed 7 months ago

GideonNeedleman commented 7 months ago

Fixes #117

Refactored programData structure with program.workouts array being a simple array of integers. Integers reference workout.ids. program.next property has value of index in program.workouts that is the next workout to do.

Refactored WorkoutButton to work with new program structure. Increment next refactored. BuildProgram refactored to work with creating a new program and editing existing program.

Still no rearranging order of workouts in program.