Inverting some arguments to ease readability

This commit is contained in:
Maxime NATUREL 2022-09-19 14:46:24 +02:00
parent cf6b8d76a8
commit 54a4dc7e9a
2 changed files with 2 additions and 2 deletions

View file

@ -37,8 +37,8 @@ class DevicesViewModel @AssistedInject constructor(
private val getCurrentSessionCrossSigningInfoUseCase: GetCurrentSessionCrossSigningInfoUseCase, private val getCurrentSessionCrossSigningInfoUseCase: GetCurrentSessionCrossSigningInfoUseCase,
private val getDeviceFullInfoListUseCase: GetDeviceFullInfoListUseCase, private val getDeviceFullInfoListUseCase: GetDeviceFullInfoListUseCase,
private val refreshDevicesOnCryptoDevicesChangeUseCase: RefreshDevicesOnCryptoDevicesChangeUseCase, private val refreshDevicesOnCryptoDevicesChangeUseCase: RefreshDevicesOnCryptoDevicesChangeUseCase,
refreshDevicesUseCase: RefreshDevicesUseCase,
private val checkIfCurrentSessionCanBeVerifiedUseCase: CheckIfCurrentSessionCanBeVerifiedUseCase, private val checkIfCurrentSessionCanBeVerifiedUseCase: CheckIfCurrentSessionCanBeVerifiedUseCase,
refreshDevicesUseCase: RefreshDevicesUseCase,
) : VectorSessionsListViewModel<DevicesViewState, DevicesAction, DevicesViewEvent>(initialState, activeSessionHolder, refreshDevicesUseCase) { ) : VectorSessionsListViewModel<DevicesViewState, DevicesAction, DevicesViewEvent>(initialState, activeSessionHolder, refreshDevicesUseCase) {
@AssistedFactory @AssistedFactory

View file

@ -55,8 +55,8 @@ class DevicesViewModelTest {
getCurrentSessionCrossSigningInfoUseCase, getCurrentSessionCrossSigningInfoUseCase,
getDeviceFullInfoListUseCase, getDeviceFullInfoListUseCase,
refreshDevicesOnCryptoDevicesChangeUseCase, refreshDevicesOnCryptoDevicesChangeUseCase,
refreshDevicesUseCase,
checkIfCurrentSessionCanBeVerifiedUseCase, checkIfCurrentSessionCanBeVerifiedUseCase,
refreshDevicesUseCase,
) )
} }