Timeline: remove onStateUpdated in controller

This commit is contained in:
ganfra 2021-12-09 12:27:36 +01:00
parent 1e2e9e1070
commit c830d49924

View File

@ -301,10 +301,6 @@ class TimelineEventController @Inject constructor(private val dateFormatter: Vec
submitSnapshot(snapshot)
}
override fun onStateUpdated(direction: Timeline.Direction, state: Timeline.PaginationState) {
requestDelayedModelBuild(0)
}
private fun submitSnapshot(newSnapshot: List<TimelineEvent>) {
backgroundHandler.post {
inSubmitList = true