1- package org.cru.godtools.ui.languages .country
1+ package org.cru.godtools.ui.settings .country
22
33import android.content.Context
44import android.icu.text.LocaleDisplayNames
@@ -23,15 +23,13 @@ import dagger.assisted.AssistedInject
2323import dagger.hilt.android.qualifiers.ApplicationContext
2424import dagger.hilt.components.SingletonComponent
2525import java.util.Locale
26- import kotlinx.collections.immutable.ImmutableList
27- import kotlinx.collections.immutable.persistentListOf
2826import kotlinx.collections.immutable.toImmutableList
2927import kotlinx.coroutines.Dispatchers
3028import kotlinx.coroutines.launch
3129import kotlinx.coroutines.withContext
3230import org.cru.godtools.base.Settings
3331import org.cru.godtools.base.util.getPrimaryCollator
34- import org.cru.godtools.ui.languages .country.CountrySettingsPresenter.UiState
32+ import org.cru.godtools.ui.settings .country.CountrySettingsPresenter.UiState
3533
3634class CountrySettingsPresenter @AssistedInject constructor(
3735 @param:ApplicationContext private val context : Context ,
@@ -40,7 +38,7 @@ class CountrySettingsPresenter @AssistedInject constructor(
4038) : Presenter<UiState> {
4139 // what the screen needs to know
4240 data class UiState (
43- val countries : List <CountryItem > = persistentListOf (),
41+ val countries : List <CountryItem > = emptyList (),
4442 val query : MutableState <String > = mutableStateOf(""),
4543 val countryCode : String? = null ,
4644 val eventSink : (UiEvent ) -> Unit = {},
0 commit comments