mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Remove wrong comment
This commit is contained in:
-3
@@ -34,9 +34,6 @@ class WebViewMessageInterceptor(
|
|||||||
super.onPageStarted(view, url, favicon)
|
super.onPageStarted(view, url, favicon)
|
||||||
|
|
||||||
// We inject this JS code when the page starts loading to attach a message listener to the window.
|
// We inject this JS code when the page starts loading to attach a message listener to the window.
|
||||||
// This listener will receive both messages:
|
|
||||||
// - EC widget API -> Element X (message.data.api == "fromWidget")
|
|
||||||
// - Element X -> EC widget API (message.data.api == "toWidget"), we should ignore these
|
|
||||||
view?.evaluateJavascript(
|
view?.evaluateJavascript(
|
||||||
"""
|
"""
|
||||||
window.addEventListener(
|
window.addEventListener(
|
||||||
|
|||||||
Reference in New Issue
Block a user