ktlint
This commit is contained in:
parent
d9f15c1d21
commit
032e1b3d19
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -727,7 +727,6 @@ class RoomDetailViewModel @AssistedInject constructor(@Assisted initialState: Ro
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun observeSyncState() {
|
private fun observeSyncState() {
|
||||||
session.rx()
|
session.rx()
|
||||||
.liveSyncState()
|
.liveSyncState()
|
||||||
|
|
|
@ -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:
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue