IconTintColorEffect - Can't remove the tint, and removing the effect entirely prevents tinting the icon again
Zenijin opened this issue · comments
I've tried a number of different ways to just clear the tint and get back the original image, and then still be able to apply a new tint later, but nothing I've tried has been working for me.
IconTintColorEffect.SetTintColor(view, Color.Default);
This just gets treated the same as if I had used Color.Transparent
, and turns the image completely transparent.
view.Effects.Remove(view.Effects.First(x => x is IconTintColorEffectRouter));
This does remove the tint, but then when I try to set a new tint with IconTintColorEffect.SetTintColor
it doesn't work. The icon won't ever take tint again until I completely destroy and recreate the element.