Update dispatcherManager naming for consistency (#1050)

This commit is contained in:
David Perez 2024-02-22 10:25:04 -06:00 committed by Álison Fernandes
parent 8554a6653b
commit 294c879e48
3 changed files with 6 additions and 6 deletions

View file

@ -27,9 +27,9 @@ class AuthRequestNotificationManagerImpl(
private val context: Context,
private val authDiskSource: AuthDiskSource,
pushManager: PushManager,
dispatchers: DispatcherManager,
dispatcherManager: DispatcherManager,
) : AuthRequestNotificationManager {
private val ioScope = CoroutineScope(dispatchers.io)
private val ioScope = CoroutineScope(dispatcherManager.io)
init {
pushManager

View file

@ -40,13 +40,13 @@ object AuthManagerModule {
@ApplicationContext context: Context,
authDiskSource: AuthDiskSource,
pushManager: PushManager,
dispatchers: DispatcherManager,
dispatcherManager: DispatcherManager,
): AuthRequestNotificationManager =
AuthRequestNotificationManagerImpl(
context = context,
authDiskSource = authDiskSource,
pushManager = pushManager,
dispatchers = dispatchers,
dispatcherManager = dispatcherManager,
)
@Provides

View file

@ -43,7 +43,7 @@ object AuthRepositoryModule {
authSdkSource: AuthSdkSource,
vaultSdkSource: VaultSdkSource,
authDiskSource: AuthDiskSource,
dispatchers: DispatcherManager,
dispatcherManager: DispatcherManager,
environmentRepository: EnvironmentRepository,
settingsRepository: SettingsRepository,
vaultRepository: VaultRepository,
@ -60,7 +60,7 @@ object AuthRepositoryModule {
vaultSdkSource = vaultSdkSource,
authDiskSource = authDiskSource,
haveIBeenPwnedService = haveIBeenPwnedService,
dispatcherManager = dispatchers,
dispatcherManager = dispatcherManager,
environmentRepository = environmentRepository,
settingsRepository = settingsRepository,
vaultRepository = vaultRepository,