mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Timeline: remove onStateUpdated in controller
This commit is contained in:
parent
1e2e9e1070
commit
c830d49924
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user