NuPlay / RichText

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

runtime failure: force unwrap #32

Closed roccodebellis closed 1 year ago

roccodebellis commented 1 year ago
image

This happen on those circumstances where the view will be unallocated before the content was uploaded, there is a crash due to force unwrap of variable height. Since we don't want to risk an accident, can i suggest to don't force unwrap an optional only to find that it could be void.

NuPlay commented 1 year ago

Thank you for pointing out the issue. I have addressed it in PR #33 and released the fix in version v2.2.1. Please update to v2.2.1 to see the changes.

I appreciate your valuable feedback. If you have any further concerns or issues, feel free to let me know.

Closing this issue as it has been resolved in v2.2.1.

roccodebellis commented 1 year ago

Thank you for your availability and timely resolution.