Tag group: fix first tag not being included

This commit is contained in:
Thomas Ricouard 2023-10-27 11:39:31 +02:00
parent e9e1992806
commit 8a49409b26
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}
}