Merge pull request #1180 from RCGV1/fixTransparentBackground

Fixed transparent tab view
This commit is contained in:
Garth Vander Houwen 2025-04-20 10:52:57 -07:00 committed by GitHub
commit 179c35c444
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,12 @@ struct ContentView: View {
@ObservedObject
var router: Router
init(appState: AppState, router: Router) {
self.appState = appState
self.router = router
UITabBar.appearance().scrollEdgeAppearance = UITabBarAppearance(idiom: .unspecified)
}
var body: some View {
TabView(selection: $appState.router.navigationState.selectedTab) {
Messages(