mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-12 00:55:28 +00:00
Disable TabView animations
This commit is contained in:
parent
efab56d5e5
commit
09104ee903
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ struct AppView: View {
|
||||||
.toolbarBackground(theme.primaryBackgroundColor.opacity(0.30), for: .tabBar)
|
.toolbarBackground(theme.primaryBackgroundColor.opacity(0.30), for: .tabBar)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.introspect(.tabView, on: .iOS(.v17, .v18)) { (_: UITabBarController) in
|
||||||
|
UITabBar.setAnimationsEnabled(false)
|
||||||
|
}
|
||||||
.id(appAccountsManager.currentClient.id)
|
.id(appAccountsManager.currentClient.id)
|
||||||
.withSheetDestinations(sheetDestinations: $appRouterPath.presentedSheet)
|
.withSheetDestinations(sheetDestinations: $appRouterPath.presentedSheet)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue