aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
index b567801b..9264ea52 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
@@ -33,13 +33,13 @@ class FrostJSI(val web: FrostWebView) {
if (url != null)
web.post {
(context as? VideoViewHolder)?.showVideo(url, isGif)
- ?: L.d("Could not load video; contract not implemented")
+ ?: L.d { "Could not load video; contract not implemented" }
}
}
@JavascriptInterface
fun reloadBaseUrl(animate: Boolean) {
- L.d("FrostJSI reload")
+ L.d { "FrostJSI reload" }
web.post {
web.stopLoading()
web.reloadBase(animate)