aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-03-29 19:28:23 -0700
committerAllan Wang <me@allanwang.ca>2020-03-29 19:28:23 -0700
commit000699d73c55cf6bfd5e03fc3f1b24daa21dd111 (patch)
tree459edd81bffb8d0e1a58f741ced6ab5f43c2ea27 /app/src/main
parenta51f349c8682ba26ea28a63b845d80a8c2aeeebf (diff)
downloadfrost-000699d73c55cf6bfd5e03fc3f1b24daa21dd111.tar.gz
frost-000699d73c55cf6bfd5e03fc3f1b24daa21dd111.tar.bz2
frost-000699d73c55cf6bfd5e03fc3f1b24daa21dd111.zip
Apply spotless
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt3
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt4
2 files changed, 2 insertions, 5 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt
index b3dc58c6..0cb037a5 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt
@@ -39,7 +39,6 @@ import android.widget.TextView
import androidx.appcompat.app.ActionBarDrawerToggle
import androidx.appcompat.widget.Toolbar
import androidx.core.graphics.alpha
-import androidx.core.text.htmlEncode
import androidx.core.view.updateLayoutParams
import androidx.drawerlayout.widget.DrawerLayout
import androidx.fragment.app.Fragment
@@ -133,8 +132,6 @@ import kotlin.math.abs
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.launch
import org.koin.android.ext.android.inject
-import java.net.URLEncoder
-import java.nio.charset.StandardCharsets
/**
* Created by Allan Wang on 20/12/17.
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
index a8e7c64c..2368a992 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
@@ -71,6 +71,8 @@ import com.pitchedapps.frost.injectors.CssAssets
import com.pitchedapps.frost.injectors.JsAssets
import java.io.File
import java.io.IOException
+import java.net.URLEncoder
+import java.nio.charset.StandardCharsets
import java.util.ArrayList
import java.util.Locale
import kotlinx.coroutines.CoroutineScope
@@ -81,8 +83,6 @@ import org.apache.commons.text.StringEscapeUtils
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
-import java.net.URLEncoder
-import java.nio.charset.StandardCharsets
/**
* Created by Allan Wang on 2017-06-03.