Address PR comments (IOS-266)
This commit is contained in:
parent
cb08a6ecab
commit
543b82f1fa
|
@ -148,6 +148,8 @@ extension HomeTimelineViewModel.LoadLatestState {
|
|||
var oldRecords = viewModel.dataController.records
|
||||
|
||||
var newRecords = [MastodonFeed]()
|
||||
|
||||
/// See HomeTimelineViewModel.swift for the "Load More"-counterpart when fetching new timeline items
|
||||
for (index, status) in newStatuses.enumerated() {
|
||||
if index < newStatuses.count - 1 {
|
||||
newRecords.append(
|
||||
|
|
|
@ -186,6 +186,7 @@ extension HomeTimelineViewModel {
|
|||
|
||||
var feedItems = [MastodonFeed]()
|
||||
|
||||
/// See HomeTimelineViewModel+LoadLatestState.swift for the "Load More"-counterpart when fetching new timeline items
|
||||
for (index, item) in items.enumerated() {
|
||||
let hasMore: Bool
|
||||
|
||||
|
|
Loading…
Reference in New Issue