Add "reply in thread" timeline item action menu entry.

This commit is contained in:
Stefan Ceriu
2025-06-10 14:00:24 +03:00
committed by Stefan Ceriu
parent 09779a4e12
commit 3ef479305a
52 changed files with 109 additions and 88 deletions
@@ -16,6 +16,7 @@ struct TimelineItemMenuActionProvider {
let pinnedEventIDs: Set<String>
let isDM: Bool
let isViewSourceEnabled: Bool
let areThreadsEnabled: Bool
let timelineKind: TimelineKind
let emojiProvider: EmojiProviderProtocol
@@ -52,6 +53,10 @@ struct TimelineItemMenuActionProvider {
} else {
actions.append(.reply(isThread: false))
}
if areThreadsEnabled, !timelineKind.isThread {
actions.append(.replyInThread)
}
}
if item.isForwardable {