NuPlay / RichText

Easily show RichText(html) in SwiftUI
MIT License
209 stars 36 forks source link

Using linkColor change the links color to the default WebView blue <a> color #19

Closed axiel7 closed 2 years ago

axiel7 commented 2 years ago

If I don't set the .linkColor, the link color uses the RichText default light blue color. But when I try to set my custom color, it does not change to the desired color and fallbacks to the dark blue link color.

RichText(html: htmlString)
        .linkColor(light: Color.white, dark: Color.white)

I am not sure if is related but I am testing this on the latest Xcode 14 beta 5.

NuPlay commented 2 years ago

Thanks for letting me know I fixed it in version 2.0.1