Closed ikok07 closed 10 months ago
This is my code:
ScrollView { TodayFeaturedRecipesView() .environmentObject(viewModel) .tag(0) TodayStatisticsView() .environmentObject(viewModel) .padding(.top) if !(accManager.user?.isPremium ?? false) { TodayFreeRecipesView() .environmentObject(viewModel) ExplorePremiumBannerView() .redacted(reason: viewModel.isLoading ? .placeholder : []) .shimmering(active: viewModel.isLoading, gradient: colorScheme == .dark ? K.Gradients.lightShimmeringGradient : K.Gradients.darkShimmeringGradient) } }
We had the same issue and were able to fix it by introducing the changes from #20
Can you try if this fix works for you as well?
Yup, the issue was fixed! Thank you :)
When I launch my application for the first time the animation is not applied only to the redacted view but to the whole view:
This is my code: