Hide "New Posts" Indicator on Timeline Context Change (IOS-21)
This commit is contained in:
parent
085ef54233
commit
f03ef0dfc7
|
@ -38,7 +38,11 @@ final class HomeTimelineViewModel: NSObject {
|
|||
let isOffline = CurrentValueSubject<Bool, Never>(false)
|
||||
var networkErrorCount = CurrentValueSubject<Int, Never>(0)
|
||||
|
||||
var timelineContext: MastodonFeed.Kind.TimelineContext = .home
|
||||
var timelineContext: MastodonFeed.Kind.TimelineContext = .home {
|
||||
didSet {
|
||||
hasNewPosts.send(false)
|
||||
}
|
||||
}
|
||||
|
||||
weak var tableView: UITableView?
|
||||
weak var timelineMiddleLoaderTableViewCellDelegate: TimelineMiddleLoaderTableViewCellDelegate?
|
||||
|
|
Loading…
Reference in New Issue