mirror of
https://github.com/bitwarden/android.git
synced 2025-01-08 09:17:36 +03:00
Fix
This commit is contained in:
parent
2e0f07e138
commit
e44cfe16d5
1 changed files with 5 additions and 2 deletions
|
@ -26,6 +26,7 @@ import dagger.Provides
|
||||||
import dagger.hilt.InstallIn
|
import dagger.hilt.InstallIn
|
||||||
import dagger.hilt.android.qualifiers.ApplicationContext
|
import dagger.hilt.android.qualifiers.ApplicationContext
|
||||||
import dagger.hilt.components.SingletonComponent
|
import dagger.hilt.components.SingletonComponent
|
||||||
|
import kotlinx.coroutines.CoroutineScope
|
||||||
import java.time.Clock
|
import java.time.Clock
|
||||||
import javax.inject.Singleton
|
import javax.inject.Singleton
|
||||||
|
|
||||||
|
@ -45,7 +46,8 @@ object VaultManagerModule {
|
||||||
authDiskSource: AuthDiskSource,
|
authDiskSource: AuthDiskSource,
|
||||||
fileManager: FileManager,
|
fileManager: FileManager,
|
||||||
clock: Clock,
|
clock: Clock,
|
||||||
networkConnectionManager: NetworkConnectionManager
|
networkConnectionManager: NetworkConnectionManager,
|
||||||
|
dispatcherManager: DispatcherManager
|
||||||
): CipherManager = CipherManagerImpl(
|
): CipherManager = CipherManagerImpl(
|
||||||
fileManager = fileManager,
|
fileManager = fileManager,
|
||||||
authDiskSource = authDiskSource,
|
authDiskSource = authDiskSource,
|
||||||
|
@ -53,7 +55,8 @@ object VaultManagerModule {
|
||||||
vaultDiskSource = vaultDiskSource,
|
vaultDiskSource = vaultDiskSource,
|
||||||
vaultSdkSource = vaultSdkSource,
|
vaultSdkSource = vaultSdkSource,
|
||||||
clock = clock,
|
clock = clock,
|
||||||
networkConnectionManager = networkConnectionManager
|
networkConnectionManager = networkConnectionManager,
|
||||||
|
externalScope = CoroutineScope(dispatcherManager.main)
|
||||||
)
|
)
|
||||||
|
|
||||||
@Provides
|
@Provides
|
||||||
|
|
Loading…
Reference in a new issue