enisn / UraniumUI

Uranium is a Free & Open-Source UI Kit for MAUI.
Apache License 2.0
984 stars 110 forks source link

TabView - tab headers do not change foreground color within changing theme mode #660

Open nick4real opened 3 weeks ago

nick4real commented 3 weeks ago

image image image Headers becomes visible again after they been selected and deselected once like on last screenshot with tab one. Is there any way to manually reload a foreground colors? Thanks

nick4real commented 3 weeks ago

As I can see, not the foreground color only, but header generally. image image

enisn commented 2 weeks ago

Yeah, previously I was using AppThemeColor but after migrating .NET 8, MAUI started throwing exception when I try to use app theme binding:

https://github.com/enisn/UraniumUI/blob/eda026f667f5e297d0231f2ebc4f9b17c589434a/src/UraniumUI.Material/Controls/TabView.cs#L59-L61

I couldn't find a good way to make it without compromising performance so far

enisn commented 2 weeks ago

I'll try to find a workaround for runtime theme changing