add canHandleURL to DivActionURLHandler

add canHandleURL to DivActionURLHandler
This commit is contained in:
aptaranov
2023-01-14 00:13:41 +03:00
parent 7df7026b74
commit 91bb63cd36
@@ -44,6 +44,10 @@ public final class DivActionURLHandler {
self.showTooltip = showTooltip
self.performTimerAction = performTimerAction
}
public func canHandleURL(_ url: URL) -> Bool {
url.scheme == DivActionIntent.scheme
}
public func handleURL(
_ url: URL,