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 79c2794b6..076743b59 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt @@ -32,8 +32,8 @@ import com.pitchedapps.frost.utils.isIndependent import com.pitchedapps.frost.utils.launchImageActivity import com.pitchedapps.frost.utils.showWebContextMenu import com.pitchedapps.frost.views.FrostWebView -import kotlinx.coroutines.launch import javax.inject.Inject +import kotlinx.coroutines.launch /** Created by Allan Wang on 2017-06-01. */ @FrostWebScoped @@ -166,6 +166,5 @@ internal constructor( this.isScrolling = scrolling } - @JavascriptInterface - fun isScrolling(): Boolean = isScrolling + @JavascriptInterface fun isScrolling(): Boolean = isScrolling }