diff --git a/app/src/main/java/com/x8bit/bitwarden/data/auth/manager/AuthRequestNotificationManagerImpl.kt b/app/src/main/java/com/x8bit/bitwarden/data/auth/manager/AuthRequestNotificationManagerImpl.kt index 7878d5916..6f462f052 100644 --- a/app/src/main/java/com/x8bit/bitwarden/data/auth/manager/AuthRequestNotificationManagerImpl.kt +++ b/app/src/main/java/com/x8bit/bitwarden/data/auth/manager/AuthRequestNotificationManagerImpl.kt @@ -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 diff --git a/app/src/main/java/com/x8bit/bitwarden/data/auth/manager/di/AuthManagerModule.kt b/app/src/main/java/com/x8bit/bitwarden/data/auth/manager/di/AuthManagerModule.kt index ee23bf336..698a4abc2 100644 --- a/app/src/main/java/com/x8bit/bitwarden/data/auth/manager/di/AuthManagerModule.kt +++ b/app/src/main/java/com/x8bit/bitwarden/data/auth/manager/di/AuthManagerModule.kt @@ -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 diff --git a/app/src/main/java/com/x8bit/bitwarden/data/auth/repository/di/AuthRepositoryModule.kt b/app/src/main/java/com/x8bit/bitwarden/data/auth/repository/di/AuthRepositoryModule.kt index efb9082bc..8f690bb19 100644 --- a/app/src/main/java/com/x8bit/bitwarden/data/auth/repository/di/AuthRepositoryModule.kt +++ b/app/src/main/java/com/x8bit/bitwarden/data/auth/repository/di/AuthRepositoryModule.kt @@ -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,