1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-01-20 21:00:36 +01:00

fix: profile timeline loader missing when paging issue

This commit is contained in:
CMK 2021-05-11 16:44:41 +08:00
parent 1d552d38f5
commit c11b0bec1e

View File

@ -32,6 +32,7 @@ extension UserTimelineViewModel {
// set empty section to make update animation top-to-bottom style
var snapshot = NSDiffableDataSourceSnapshot<StatusSection, Item>()
snapshot.appendSections([.main])
snapshot.appendItems([.bottomLoader], toSection: .main)
diffableDataSource?.apply(snapshot)
}