mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
add canHandleURL to DivActionURLHandler
add canHandleURL to DivActionURLHandler
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user