Format code

This commit is contained in:
Benoit Marty 2021-11-22 10:45:45 +01:00
parent 2c6993af44
commit e520a374e4

View File

@ -60,15 +60,16 @@ import timber.log.Timber
* View model used to update the home bottom bar notification counts, observe the sync state and * View model used to update the home bottom bar notification counts, observe the sync state and
* change the selected room list view * change the selected room list view
*/ */
class HomeDetailViewModel @AssistedInject constructor(@Assisted initialState: HomeDetailViewState, class HomeDetailViewModel @AssistedInject constructor(
private val session: Session, @Assisted initialState: HomeDetailViewState,
private val uiStateRepository: UiStateRepository, private val session: Session,
private val vectorDataStore: VectorDataStore, private val uiStateRepository: UiStateRepository,
private val callManager: WebRtcCallManager, private val vectorDataStore: VectorDataStore,
private val directRoomHelper: DirectRoomHelper, private val callManager: WebRtcCallManager,
private val appStateHandler: AppStateHandler, private val directRoomHelper: DirectRoomHelper,
private val autoAcceptInvites: AutoAcceptInvites) : private val appStateHandler: AppStateHandler,
VectorViewModel<HomeDetailViewState, HomeDetailAction, HomeDetailViewEvents>(initialState), private val autoAcceptInvites: AutoAcceptInvites
) : VectorViewModel<HomeDetailViewState, HomeDetailAction, HomeDetailViewEvents>(initialState),
CallProtocolsChecker.Listener { CallProtocolsChecker.Listener {
@AssistedFactory @AssistedFactory