mirror of
https://github.com/accelforce/Yuito
synced 2024-12-21 12:34:51 +01:00
Fix filtering timelines (#2214)
This commit is contained in:
parent
2cc53d6772
commit
59b977c57c
@ -451,9 +451,9 @@ class TimelineViewModel @Inject constructor(
|
||||
} else {
|
||||
throw HttpException(response)
|
||||
}
|
||||
}
|
||||
}.toMutableList()
|
||||
|
||||
filterStatuses(statuses.toMutableList())
|
||||
filterStatuses(statuses)
|
||||
|
||||
return statuses
|
||||
}
|
||||
@ -530,7 +530,7 @@ class TimelineViewModel @Inject constructor(
|
||||
if (statuses.size > 1) {
|
||||
clearPlaceholdersForResponse(mutableStatusResponse)
|
||||
this.statuses.clear()
|
||||
this.statuses.addAll(statuses.toViewData())
|
||||
this.statuses.addAll(mutableStatusResponse.toViewData())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user