Tag group: fix first tag not being included
This commit is contained in:
parent
e9e1992806
commit
8a49409b26
|
@ -151,8 +151,8 @@ public enum TimelineFilter: Hashable, Equatable {
|
|||
}
|
||||
case let .tagGroup(_, tags):
|
||||
var tags = tags
|
||||
tags.removeFirst()
|
||||
return Timelines.hashtag(tag: tags.first ?? "", additional: tags, maxId: maxId)
|
||||
let tag = tags.removeFirst()
|
||||
return Timelines.hashtag(tag: tag, additional: tags, maxId: maxId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue