From ac72d788f7403ac4607def346805f9eb14377379 Mon Sep 17 00:00:00 2001 From: Alexander Romanov Date: Sat, 16 Mar 2024 02:00:29 +0300 Subject: [PATCH] Fix Onboarding --- Sources/OversizeOnboardingKit/OnboardingView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/OversizeOnboardingKit/OnboardingView.swift b/Sources/OversizeOnboardingKit/OnboardingView.swift index 081ee47..a12d76e 100644 --- a/Sources/OversizeOnboardingKit/OnboardingView.swift +++ b/Sources/OversizeOnboardingKit/OnboardingView.swift @@ -40,8 +40,10 @@ public struct OnboardingView: View { // .tag(index) // } } + #if os(iOS) .tabViewStyle(.page(indexDisplayMode: .never)) .indexViewStyle(.page(backgroundDisplayMode: .never)) + #endif } .background( Color.backgroundSecondary.ignoresSafeArea()