foregroundColor does not work with the latest xcode 12 / iOS 14

I have the following which works perfectly in xcode 11.7 / iOS 13.7
Code Block
Button(action: {
if (self.viewRouter.currentView != "menu") {
self.viewRouter.currentView = "menu"
}
}) {
Image("menu")
}
.foregroundColor(self.viewRouter.currentView == "menu" ? .blue : .gray)

With xcode 12 / iOS 14.0.1 the color of the tab bar images is ALWAYS black!?

How can apple ***** this up?!
foregroundColor does not work with the latest xcode 12 / iOS 14
 
 
Q