From 451e9869bca0ea16eb24eaa8fe9e866ce36a9a7a Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 11 Jan 2021 00:49:07 -0800 Subject: Apply spotless and allow wildcard imports --- .../main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kpref-activity/src') 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) { -- cgit v1.2.3