NuPlay / RichText

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

[Fix] Always call decisionHandler on webview navigationAction #43

Closed filip-zielinski closed 7 months ago

filip-zielinski commented 8 months ago

This PR makes sure that decissionHandler is always called on a webview navigationAction.

Previously, it was possible that when URL scheme is nil and creating "https" URL failed, then decissionHandler would not be called. Not calling decissionHandler would cause app to crash.

NuPlay commented 7 months ago

Thanks for finding and solving the problem