Update WebViewWidgetMessageInterceptor.kt
Improve parameter naming
This commit is contained in:
parent
30a288a216
commit
3476cae00b
1 changed files with 2 additions and 2 deletions
|
|
@ -46,8 +46,8 @@ class WebViewWidgetMessageInterceptor(
|
|||
// objects in log lines.
|
||||
view?.evaluateJavascript(
|
||||
"""
|
||||
function logFn(logFn, ...args) {
|
||||
logFn(
|
||||
function logFn(consoleLogFn, ...args) {
|
||||
consoleLogFn(
|
||||
args.map(
|
||||
a => typeof a === "string" ? a : JSON.stringify(a)
|
||||
).join(' ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue