Only show pined statuses in first account column

This commit is contained in:
Justin Mazzocchi 2021-02-03 14:06:22 -08:00
parent 4142e66862
commit 3b7152b7e3
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -58,7 +58,8 @@ extension TimelineItemsInfo {
at: index)
}
if let pinnedStatusInfos = pinnedStatusesInfo?.pinnedStatusInfos {
if timelineRecord.profileCollection == .statuses,
let pinnedStatusInfos = pinnedStatusesInfo?.pinnedStatusInfos {
return [.init(items: pinnedStatusInfos.filtered(regularExpression: filterRegularExpression)
.map {
CollectionItem.status(