Updated on 2026-08-14
This commit is contained in:
parent
cf182832db
commit
ae979f60cd
11 changed files with 110 additions and 65 deletions
|
|
@ -12,6 +12,7 @@ import com.tangem.domain.settings.usercountry.models.UserCountry
|
|||
import com.tangem.utils.coroutines.CoroutineDispatcherProvider
|
||||
import kotlinx.coroutines.coroutineScope
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
import timber.log.Timber
|
||||
|
|
@ -127,6 +128,8 @@ internal class DefaultSettingsRepository(
|
|||
return null
|
||||
}
|
||||
|
||||
override fun getUserCountryCode(): StateFlow<UserCountry?> = userCountryFlow
|
||||
|
||||
override suspend fun fetchUserCountryCode() {
|
||||
Timber.i("Start fetching user country code")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue