Closed alberto-lazari closed 1 month ago
Hi @alberto-lazari thanks for spotting this issue! However your original commit doesn't compile correctly.
Just added a new patch, please check if this is working for you.
Just added a new patch, please check if this is working for you.
Thanks, this approach is definitely more intuitive. I can confirm it works for me too
Perfecto ! I will merge this patch right away.
Currently, when setting a custom accent color in
metadata.toml
, with something likethe code in
setAccentColor
checks for the type of the parameter.Problem is, if you try getting the type of param with something like
it will always print out
string
, so the function will always try to use one ofawesomeColors