This commit is contained in:
Benoit Marty 2019-11-05 16:33:40 +01:00
parent d9f15c1d21
commit 032e1b3d19
4 changed files with 0 additions and 5 deletions

View File

@ -31,7 +31,6 @@ internal interface UpdateIgnoredUserIdsTask : Task<UpdateIgnoredUserIdsTask.Para
val userIdsToIgnore: List<String> = emptyList(), val userIdsToIgnore: List<String> = emptyList(),
val userIdsToUnIgnore: List<String> = emptyList() val userIdsToUnIgnore: List<String> = emptyList()
) )
} }
internal class DefaultUpdateIgnoredUserIdsTask @Inject constructor(private val accountDataApi: AccountDataAPI, internal class DefaultUpdateIgnoredUserIdsTask @Inject constructor(private val accountDataApi: AccountDataAPI,

View File

@ -31,7 +31,6 @@ abstract class VectorViewModel<S : MvRxState>(initialState: S)
val requestErrorLiveData: LiveData<LiveEvent<Throwable>> val requestErrorLiveData: LiveData<LiveEvent<Throwable>>
get() = _requestErrorLiveData get() = _requestErrorLiveData
/** /**
* This method does the same thing as the execute function, but it doesn't subscribe to the stream * This method does the same thing as the execute function, but it doesn't subscribe to the stream
* so you can use this in a switchMap or a flatMap * so you can use this in a switchMap or a flatMap

View File

@ -727,7 +727,6 @@ class RoomDetailViewModel @AssistedInject constructor(@Assisted initialState: Ro
}) })
} }
private fun observeSyncState() { private fun observeSyncState() {
session.rx() session.rx()
.liveSyncState() .liveSyncState()

View File

@ -30,7 +30,6 @@ data class IgnoredUsersViewState(
val unIgnoreRequest: Async<Unit> = Uninitialized val unIgnoreRequest: Async<Unit> = Uninitialized
) : MvRxState ) : MvRxState
sealed class IgnoredUsersAction { sealed class IgnoredUsersAction {
data class UnIgnore(val userId: String) : IgnoredUsersAction() data class UnIgnore(val userId: String) : IgnoredUsersAction()
} }
@ -99,5 +98,4 @@ class IgnoredUsersViewModel @AssistedInject constructor(@Assisted initialState:
} }
}) })
} }
} }