mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 00:25:35 +00:00
Refix Introspect
This commit is contained in:
parent
ab99ef9a0a
commit
551697eb2c
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ struct AppView: View {
|
||||||
.tag(tab)
|
.tag(tab)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.introspect(.tabView, on: .iOS(.v18)) { (tabview: UITabBarController) in
|
.introspect(.tabView, on: .iOS(.v17, .v18)) { (tabview: UITabBarController) in
|
||||||
tabview.tabBar.isHidden = horizontalSizeClass == .regular
|
tabview.tabBar.isHidden = horizontalSizeClass == .regular
|
||||||
tabview.customizableViewControllers = []
|
tabview.customizableViewControllers = []
|
||||||
tabview.moreNavigationController.isNavigationBarHidden = true
|
tabview.moreNavigationController.isNavigationBarHidden = true
|
||||||
|
|
|
@ -68,7 +68,7 @@ public struct TimelineView: View {
|
||||||
.scrollContentBackground(.hidden)
|
.scrollContentBackground(.hidden)
|
||||||
.background(theme.primaryBackgroundColor)
|
.background(theme.primaryBackgroundColor)
|
||||||
#endif
|
#endif
|
||||||
.introspect(.list, on: .iOS(.v18)) { (collectionView: UICollectionView) in
|
.introspect(.list, on: .iOS(.v17, .v18)) { (collectionView: UICollectionView) in
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
self.collectionView = collectionView
|
self.collectionView = collectionView
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue