rundfunk47 / stinsen

Coordinators in SwiftUI. Simple, powerful and elegant.
MIT License
907 stars 95 forks source link

Tabbar Item Accent Color Not working #125

Closed anthony1810 closed 1 year ago

anthony1810 commented 1 year ago

Does anybody able to change the accentColor when tabbar item is selected? I already tried setup global accent Color but no luck. Still that default blue.


    func makeEventsTabItem(isActive: Bool) -> some View {
        SwiftUI.Group {
            Image.calFilled.renderingMode(.template)
                .accentColor(.rookiePrimary)
            Text("Events".uppercased())
                .accentColor(.rookiePrimary)
        }
        .accentColor(.rookiePrimary)
    }```