mirror of
https://github.com/bitwarden/android.git
synced 2025-01-07 08:47:36 +03:00
Fix build
This commit is contained in:
parent
cee686f92e
commit
425b085a96
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue