integrate WorkoutIcon throughout the navigation
This commit is contained in:
@@ -21,12 +21,7 @@ struct WorkoutIconSelector: View {
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
||||
ScrollView {
|
||||
Text(workout.name)
|
||||
Text(workout.workoutIconSystemName)
|
||||
Text(workout.workoutIconColorName.rawValue)
|
||||
|
||||
LazyVGrid(columns: [GridItem(.adaptive(minimum: 50))]) {
|
||||
ForEach(systemColors, id: \.self) { color in
|
||||
Button(action: {
|
||||
@@ -65,9 +60,7 @@ struct WorkoutIconSelector: View {
|
||||
ContentUnavailableView.search
|
||||
}
|
||||
}
|
||||
.navigationTitle("Select a Workout Icon")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#Preview {
|
||||
|
||||
Reference in New Issue
Block a user