mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-10 18:28:48 +00:00
Implement swipe to reply on timeline items (#1148)
This commit is contained in:
@@ -28,6 +28,16 @@ struct TimelineItemMenuActions {
|
||||
self.actions = actions
|
||||
self.debugActions = debugActions
|
||||
}
|
||||
|
||||
var canReply: Bool {
|
||||
for action in actions {
|
||||
if case .reply = action {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
enum TimelineItemMenuAction: Identifiable, Hashable {
|
||||
|
||||
Reference in New Issue
Block a user