From 725d6a99a07f91f940a07e6b49dd6224a6aa32d1 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Dec 2017 02:44:46 -0500 Subject: Enhancement/proguard (#589) * Add error log * Rewrite logger --- app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt') 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) -- cgit v1.2.3