Fix build

This commit is contained in:
Hinton 2024-10-24 11:27:30 -07:00
parent cee686f92e
commit 425b085a96
No known key found for this signature in database
GPG key ID: 5F7295599C5D965C

View file

@ -64,6 +64,7 @@ import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import kotlinx.coroutines.CoroutineScope
import kotlinx.serialization.json.Json
import java.time.Clock
import javax.inject.Singleton
@ -206,8 +207,10 @@ object PlatformManagerModule {
@Singleton
fun provideNetworkConnectionManager(
application: Application,
dispatcherManager: DispatcherManager,
): NetworkConnectionManager = NetworkConnectionManagerImpl(
context = application.applicationContext,
externalScope = CoroutineScope(dispatcherManager.main)
)
@Provides