supported versions (#1848)

This commit is contained in:
Mauro
2023-10-03 10:10:38 +02:00
committed by GitHub
parent 325ac63d66
commit 7124f24d7c
15 changed files with 96 additions and 17 deletions
@@ -62,7 +62,7 @@ struct HomeScreen: View {
.disableAutocorrection(true)
}
}
.introspect(.scrollView, on: .iOS(.v16, .v17)) { scrollView in
.introspect(.scrollView, on: .supportedVersions) { scrollView in
guard scrollView != scrollViewAdapter.scrollView else { return }
scrollViewAdapter.scrollView = scrollView
}
@@ -92,7 +92,7 @@ struct HomeScreen: View {
.toolbar { toolbar }
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
.track(screen: .home)
.introspect(.viewController, on: .iOS(.v16, .v17)) { controller in
.introspect(.viewController, on: .supportedVersions) { controller in
Task {
if bloomView == nil {
makeBloomView(controller: controller)