mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
added the avatar and the room title as subtitle in the thread timeline as a principal action
also added a fix for the erroneous reply in thread action while in a thread, and also discovered that we can lead align the principal action again on iOS 26 (so it was a beta issue)
This commit is contained in:
+3
-1
@@ -50,7 +50,9 @@ struct TimelineItemMenuActionProvider {
|
||||
|
||||
if item.canBeRepliedTo, canCurrentUserSendMessage {
|
||||
if let messageItem = item as? EventBasedMessageTimelineItemProtocol {
|
||||
actions.append(.reply(isThread: messageItem.properties.isThreaded))
|
||||
// If threads are enabled we will have the dedicated `replyInThread` action
|
||||
// so there is no need to make the normal reply use the thread.
|
||||
actions.append(.reply(isThread: areThreadsEnabled ? false : messageItem.properties.isThreaded))
|
||||
} else {
|
||||
actions.append(.reply(isThread: false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user