When using the SidebarListStyle in iOS 14.2 beta 2, all color options are broken, and the view is presented entirely in black and white. This includes both accentColor and listItemTint.
I made a very small sample project to prove this, and submitted it on https://feedbackassistant.apple.com/feedback/8775388
Simply removing the .listStyle modifier brings color back, but of course, it loses the styling
I made a very small sample project to prove this, and submitted it on https://feedbackassistant.apple.com/feedback/8775388
Simply removing the .listStyle modifier brings color back, but of course, it loses the styling
Code Block Swift struct ContentView: View { var body: some View { NavigationView { List { Label( title: { Text("Should be the accent color") }, icon: { Image(systemName: "gear") } ) Label( title: { Text("Should be Red") }, icon: { Image(systemName: "questionmark") } ) .listItemTint(.red) } .listStyle(SidebarListStyle()) } } }