Closed cduhn closed 2 years ago
https://github.com/SomeRandomiOSDev/JNGradientLabel/blob/2f4b4755eba8d7e300ec6c305144ba19554399c8/JNGradientLabel/JNGradientLabel.swift#L94
Skimming the source code, I noticed your implementation of func encode(to encoder: Encoder) is using a type of 0 instead of 1 when encoding radial gradients.
func encode(to encoder: Encoder)
Sorry I don't have time to prepare a PR right now, so I'm just reporting this as an issue.
https://github.com/SomeRandomiOSDev/JNGradientLabel/blob/2f4b4755eba8d7e300ec6c305144ba19554399c8/JNGradientLabel/JNGradientLabel.swift#L94
Skimming the source code, I noticed your implementation of
func encode(to encoder: Encoder)
is using a type of 0 instead of 1 when encoding radial gradients.Sorry I don't have time to prepare a PR right now, so I'm just reporting this as an issue.