Updated on 2026-08-14
This commit is contained in:
parent
66c6e8e34d
commit
c86e5ba2fb
1 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import com.tangem.datasource.local.datastore.RuntimeDataStore
|
|||
import com.tangem.datasource.local.token.DefaultExpressAssetsStore
|
||||
import com.tangem.datasource.local.token.ExpressAssetsStore
|
||||
import com.tangem.datasource.utils.MoshiDataStoreSerializer
|
||||
import com.tangem.datasource.utils.listTypes
|
||||
import com.tangem.datasource.utils.mapWithStringKeyTypes
|
||||
import com.tangem.utils.coroutines.CoroutineDispatcherProvider
|
||||
import dagger.Module
|
||||
|
|
@ -35,7 +36,7 @@ internal object ExpressAssetsStoreModule {
|
|||
persistenceStore = DataStoreFactory.create(
|
||||
serializer = MoshiDataStoreSerializer(
|
||||
moshi = moshi,
|
||||
types = mapWithStringKeyTypes<Asset>(),
|
||||
types = mapWithStringKeyTypes(listTypes<Asset>()),
|
||||
defaultValue = emptyMap(),
|
||||
),
|
||||
produceFile = { context.dataStoreFile("express_assets") },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue