diff --git a/BilibiliLive/Component/Feed/FeedCollectionViewController.swift b/BilibiliLive/Component/Feed/FeedCollectionViewController.swift index 8e89f5b4..aed91c9c 100644 --- a/BilibiliLive/Component/Feed/FeedCollectionViewController.swift +++ b/BilibiliLive/Component/Feed/FeedCollectionViewController.swift @@ -89,10 +89,15 @@ class FeedCollectionViewController: UIViewController { func appendData(displayData: [any DisplayData]) { _displayData.append(contentsOf: displayData.map { AnyDispplayData(data: $0) }.filter({ !_displayData.contains($0) })) - if displayData.count < pageSize - 5 { + if displayData.count < pageSize - 5 || displayData.count == 0 { finished = true } isLoading = false + + if _displayData.count < 12 { + isLoading = true + loadMore?() + } } override func viewDidLoad() { diff --git a/BilibiliLive/Module/ViewController/FollowsViewController.swift b/BilibiliLive/Module/ViewController/FollowsViewController.swift index b00045ee..fdea5071 100644 --- a/BilibiliLive/Module/ViewController/FollowsViewController.swift +++ b/BilibiliLive/Module/ViewController/FollowsViewController.swift @@ -23,6 +23,7 @@ class FollowsViewController: StandardVideoCollectionViewController