We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd7e0f commit b2ca1f1Copy full SHA for b2ca1f1
Sources/WebView/YouTubePlayerWebView+Evaluate.swift
@@ -78,12 +78,6 @@ extension YouTubePlayerWebView {
78
Result: \(String(describing: javaScriptResponse ?? "nil"), privacy: .public)
79
"""
80
)
81
- // Check if JavaScript response is nil and the generic Response type is an optional type
82
- if javaScriptResponse == nil,
83
- let responseNilValue = (Response.self as? ExpressibleByNilLiteral.Type)?.init(nilLiteral: ()) as? Response {
84
- // Return nil
85
- return responseNilValue
86
- }
87
do {
88
// Return converted response
89
return try converter(
0 commit comments