diff --git a/ios/Platform/.stignore b/ios/Platform/.stignore index 52fb9b9..f3e34ec 100644 --- a/ios/Platform/.stignore +++ b/ios/Platform/.stignore @@ -1,13 +1,8 @@ -// Xcode user data — changes every build, ignore +// Xcode generated files — ignore all of these Platform.xcodeproj/xcuserdata -Platform.xcodeproj/project.xcworkspace/xcuserdata -Platform.xcodeproj/project.xcworkspace/xcshareddata - -// Build artifacts +Platform.xcodeproj/project.xcworkspace +*.xcuserstate +.DS_Store DerivedData build .build - -// macOS files -.DS_Store -*.xcuserstate diff --git a/ios/Platform/Platform/Features/Fitness/Views/FitnessTabView.swift b/ios/Platform/Platform/Features/Fitness/Views/FitnessTabView.swift index c87ee77..db86c87 100644 --- a/ios/Platform/Platform/Features/Fitness/Views/FitnessTabView.swift +++ b/ios/Platform/Platform/Features/Fitness/Views/FitnessTabView.swift @@ -31,18 +31,16 @@ struct FitnessTabView: View { .padding(.horizontal) .padding(.top, 8) - // Content - TabView(selection: $selectedSubTab) { - TodayView() - .tag(0) - TemplatesView() - .tag(1) - GoalsView() - .tag(2) - FoodLibraryView() - .tag(3) + // Content — no page swipe (conflicts with swipe-to-delete) + Group { + switch selectedSubTab { + case 0: TodayView() + case 1: TemplatesView() + case 2: GoalsView() + case 3: FoodLibraryView() + default: TodayView() + } } - .tabViewStyle(.page(indexDisplayMode: .never)) } .background(Color.canvas) .navigationBarHidden(true)