diff options
author | Allan Wang <me@allanwang.ca> | 2019-12-30 11:03:25 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-12-30 11:03:25 -0800 |
commit | dd3320efb1de998b8022d341036c79121618bb31 (patch) | |
tree | 8fb7f7ffbc54dffeb274a500eda7534958d7732f /app/src/main/kotlin/com/pitchedapps/frost/web | |
parent | af1a3954a7769ad7cc0cdcd6052cc9f3193aac1c (diff) | |
download | frost-dd3320efb1de998b8022d341036c79121618bb31.tar.gz frost-dd3320efb1de998b8022d341036c79121618bb31.tar.bz2 frost-dd3320efb1de998b8022d341036c79121618bb31.zip |
Apply spotless and update changelog
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt | 2 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/FrostRequestInterceptor.kt | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt index b71f9950..3ab954c6 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt @@ -31,9 +31,9 @@ import com.pitchedapps.frost.utils.L import com.pitchedapps.frost.utils.Prefs import com.pitchedapps.frost.utils.createFreshFile import com.pitchedapps.frost.utils.isFacebookUrl +import java.io.File import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext -import java.io.File /** * Created by Allan Wang on 2018-01-05. diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostRequestInterceptor.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostRequestInterceptor.kt index c4c6b81f..f38e5ced 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostRequestInterceptor.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostRequestInterceptor.kt @@ -21,9 +21,8 @@ import android.webkit.WebResourceResponse import android.webkit.WebView import com.pitchedapps.frost.utils.FrostPglAdBlock import com.pitchedapps.frost.utils.L -import okhttp3.HttpUrl -import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import java.io.ByteArrayInputStream +import okhttp3.HttpUrl.Companion.toHttpUrlOrNull /** * Created by Allan Wang on 2017-07-13. |