In settings you can now pick a rest time in minutes and seconds. These values are stored to the AppStorage under restTimeMinutes and restTimeSeconds. SwiftUI currently doesn’t have a time picker that doesn’t show AM / PM. I could’ve used a UIKIT picker, but I thought this looked good enough.
Description
In settings you can now pick a rest time in minutes and seconds. These values are stored to the AppStorage under
restTimeMinutes
andrestTimeSeconds
. SwiftUI currently doesn’t have a time picker that doesn’t show AM / PM. I could’ve used a UIKIT picker, but I thought this looked good enough.Related Issue
https://github.com/heyjaywilson/peakfit/issues/22
How Has This Been Tested?
Picked various values from the settings screen and varied they are still set on relaunch and navigating back and forth.
Screenshots (if appropriate):
https://github.com/user-attachments/assets/e1bff3f0-ddd2-4e95-ada1-7663ca13bcbf
Types of changes
Checklist: