mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 20:38:40 +00:00
Update WebViewWidgetMessageInterceptor.kt
Improve parameter naming
This commit is contained in:
+2
-2
@@ -46,8 +46,8 @@ class WebViewWidgetMessageInterceptor(
|
|||||||
// objects in log lines.
|
// objects in log lines.
|
||||||
view?.evaluateJavascript(
|
view?.evaluateJavascript(
|
||||||
"""
|
"""
|
||||||
function logFn(logFn, ...args) {
|
function logFn(consoleLogFn, ...args) {
|
||||||
logFn(
|
consoleLogFn(
|
||||||
args.map(
|
args.map(
|
||||||
a => typeof a === "string" ? a : JSON.stringify(a)
|
a => typeof a === "string" ? a : JSON.stringify(a)
|
||||||
).join(' ')
|
).join(' ')
|
||||||
|
|||||||
Reference in New Issue
Block a user