enisn / UraniumUI

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

Filled Style for Material Symbols on iOS not working #770

Open kaniosm opened 1 month ago

kaniosm commented 1 month ago

While the below renders on Android, it won't render on iOS. It renders the non filled equivalent instead.

FontImageSource FontFamily=MaterialSharpFilled, Glyph={x:Static m:MaterialSharp.Favorite}, Color=White, Size=20

enisn commented 1 month ago

Do you use MaterialIcons or MaterialSymbols?

Material Icons are deprecated by Google, so I can't support on that anymore image

Currently migrating might be tough but you can use UraniumUI.Icons.MaterialSymbols instead MaterialIcons in the future.

https://fonts.google.com/icons

As I see in the new fonts, there is a switch for Fill, I'll take a look at it how it can be implemented in MAUI

kaniosm commented 1 month ago

Hi Enis,

I'm talking about Material Symbols, not Material Icons

kaniosm commented 1 month ago

I followed this discussion: https://github.com/enisn/UraniumUI/issues/739

And used the below code, which seems to work on Android but not on iOS:

FontImageSource FontFamily=MaterialSharpFilled, Glyph={x:Static m:MaterialSharp.Favorite}, Color=White, Size=20