From e9ed8e6138f45ec9ae741ddfd2eaa3e96f32781b Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 1 Nov 2022 17:39:45 +0800 Subject: [PATCH] Better handling of errors when dispatching annotation events to JS --- apple/OmnivoreKit/Sources/Views/Article/OmnivoreWebView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/apple/OmnivoreKit/Sources/Views/Article/OmnivoreWebView.swift b/apple/OmnivoreKit/Sources/Views/Article/OmnivoreWebView.swift index 44b61034a..77a477e8e 100644 --- a/apple/OmnivoreKit/Sources/Views/Article/OmnivoreWebView.swift +++ b/apple/OmnivoreKit/Sources/Views/Article/OmnivoreWebView.swift @@ -2,6 +2,7 @@ import Models import Utils import WebKit + /// Describes actions that can be sent from the WebView back to native views. /// The names on the javascript side must match for an action to be handled. public enum WebViewAction: String, CaseIterable {