From c11b0bec1ee59f4d242110260caaabd73400a06c Mon Sep 17 00:00:00 2001 From: CMK Date: Tue, 11 May 2021 16:44:41 +0800 Subject: [PATCH] fix: profile timeline loader missing when paging issue --- .../Scene/Profile/Timeline/UserTimelineViewModel+Diffable.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mastodon/Scene/Profile/Timeline/UserTimelineViewModel+Diffable.swift b/Mastodon/Scene/Profile/Timeline/UserTimelineViewModel+Diffable.swift index 8e6f1314f..7e4ec8728 100644 --- a/Mastodon/Scene/Profile/Timeline/UserTimelineViewModel+Diffable.swift +++ b/Mastodon/Scene/Profile/Timeline/UserTimelineViewModel+Diffable.swift @@ -32,6 +32,7 @@ extension UserTimelineViewModel { // set empty section to make update animation top-to-bottom style var snapshot = NSDiffableDataSourceSnapshot() snapshot.appendSections([.main]) + snapshot.appendItems([.bottomLoader], toSection: .main) diffableDataSource?.apply(snapshot) }