fix: profile timeline loader missing when paging issue
This commit is contained in:
parent
1d552d38f5
commit
c11b0bec1e
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue