Apple Fitness workout fixer + Strava uploader

Preserve workout data (samples, routes, events) when trimming master

Previously trimming deleted the original and created a blank workout, losing all heart rate, energy, distance samples, routes, and events. Now saveTrimmedWorkout fetches associated data, recreates it on the new workout, and builds routes before deleting the original.


+141 -4
2 changed files