Fix iPad app refresh on background

This commit is contained in:
Thomas Ricouard 2024-09-17 20:49:51 +02:00
parent d2eca1d646
commit a167bcdf28

View file

@ -161,7 +161,6 @@ struct AppView: View {
.tag(tab) .tag(tab)
} }
} }
.id(availableTabs.count)
#if !os(visionOS) #if !os(visionOS)
.introspect(.tabView, on: .iOS(.v17, .v18)) { (tabview: UITabBarController) in .introspect(.tabView, on: .iOS(.v17, .v18)) { (tabview: UITabBarController) in
tabview.tabBar.isHidden = horizontalSizeClass == .regular tabview.tabBar.isHidden = horizontalSizeClass == .regular