Updated on 2026-08-14
This commit is contained in:
parent
e77c292230
commit
42806a4d7c
4 changed files with 26 additions and 9 deletions
|
|
@ -39,10 +39,6 @@ internal class DefaultBlockchainSDKFactory(
|
|||
private val mainScope = CoroutineScope(dispatchers.main)
|
||||
|
||||
private val walletManagerFactory: Flow<WalletManagerFactory?> = createWalletManagerFactory()
|
||||
// TODO: [REDACTED_JIRA]
|
||||
// private val walletManagerFactory: Flow<WalletManagerFactory?> by lazy(LazyThreadSafetyMode.NONE) {
|
||||
// createWalletManagerFactory()
|
||||
// }
|
||||
|
||||
override suspend fun init() {
|
||||
coroutineScope {
|
||||
|
|
@ -59,7 +55,7 @@ internal class DefaultBlockchainSDKFactory(
|
|||
// flow3 = subscribe on feature toggles changes, TODO: [REDACTED_JIRA]
|
||||
transform = walletManagerFactoryCreator::create,
|
||||
)
|
||||
.stateIn(scope = mainScope, started = SharingStarted.Eagerly, initialValue = null)
|
||||
.stateIn(scope = mainScope, started = SharingStarted.Lazily, initialValue = null)
|
||||
}
|
||||
|
||||
private fun CoroutineScope.updateBlockchainProviderTypes() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue