Skip to content

Commit

Permalink
chore: review notes
Browse files Browse the repository at this point in the history
  • Loading branch information
forgotvas committed Jan 5, 2024
1 parent b9e83cb commit 9defff0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import WebKit

public struct DragAndDropCssInjection: WebViewScriptInjectionProtocol, CSSInjectionProtocol {
public var id: String = "SurveyCSSInjection"
public var id: String = "DragAndDropCSSInjection"
public var messages: [WebviewMessage]?
public var injectionTime: WKUserScriptInjectionTime = .atDocumentStart

Expand Down
4 changes: 2 additions & 2 deletions Core/Core/View/Base/Webview/WebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ public struct WebView: UIViewRepresentable {
let webViewConfig = WKWebViewConfiguration()

let webView = WKWebView(frame: .zero, configuration: webViewConfig)
#if DEBUG
#if DEBUG
if #available(iOS 16.4, *) {
webView.isInspectable = true
}
#endif
#endif
webView.navigationDelegate = context.coordinator
webView.uiDelegate = context.coordinator

Expand Down

0 comments on commit 9defff0

Please sign in to comment.