aboutsummaryrefslogtreecommitdiff
path: root/kpref-activity/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-01-11 00:49:07 -0800
committerAllan Wang <me@allanwang.ca>2021-01-11 00:49:07 -0800
commit451e9869bca0ea16eb24eaa8fe9e866ce36a9a7a (patch)
tree9f6eefc3a3eefb965841ebc4338b5f21aa0959d1 /kpref-activity/src
parent89d4a2e596d07585c4a3ed91e6e091111da0c2ad (diff)
downloadkau-451e9869bca0ea16eb24eaa8fe9e866ce36a9a7a.tar.gz
kau-451e9869bca0ea16eb24eaa8fe9e866ce36a9a7a.tar.bz2
kau-451e9869bca0ea16eb24eaa8fe9e866ce36a9a7a.zip
Apply spotless and allow wildcard imports
Diffstat (limited to 'kpref-activity/src')
-rw-r--r--kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt
index 4f6233a..70b40e7 100644
--- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt
+++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt
@@ -31,10 +31,10 @@ import ca.allanwang.kau.ui.views.RippleCanvas
import ca.allanwang.kau.utils.*
import com.mikepenz.fastadapter.adapters.FastItemAdapter
import com.mikepenz.fastadapter.select.getSelectExtension
+import java.util.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
-import java.util.*
abstract class KPrefActivity : KauBaseActivity(), KPrefActivityContract {
@@ -118,9 +118,9 @@ abstract class KPrefActivity : KauBaseActivity(), KPrefActivityContract {
binding.showNextPrefs(toolbarTitleRes, builder, false)
private fun KauPrefActivityBinding.showNextPrefs(
- @StringRes toolbarTitleRes: Int,
- builder: KPrefAdapterBuilder.() -> Unit,
- first: Boolean
+ @StringRes toolbarTitleRes: Int,
+ builder: KPrefAdapterBuilder.() -> Unit,
+ first: Boolean
) {
launch {
val items = withContext(Dispatchers.Default) {