Implement swipe to reply on timeline items (#1148)

This commit is contained in:
Stefan Ceriu
2023-06-29 11:31:46 +03:00
committed by GitHub
parent 10e167732b
commit 93022dd7f2
6 changed files with 190 additions and 18 deletions
@@ -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 {