add Reply action on didTapMore(cell: sender:)

This commit is contained in:
Joan Disho
2018-03-18 20:29:49 +01:00
parent 0459c9b08c
commit e53d954b7b

View File

@@ -123,6 +123,10 @@ MarkdownStyledTextViewDelegate {
})
}
func replyAction() -> UIAlertAction? {
return UIAlertAction(title: NSLocalizedString("Reply", comment: ""), style: .default)
}
private func clearCollapseCells() {
// clear any collapse state before updating so we don't have a dangling overlay
for cell in collectionContext?.visibleCells(for: self) ?? [] {
@@ -419,6 +423,7 @@ MarkdownStyledTextViewDelegate {
alert.addActions([
shareAction(sender: sender),
editAction(),
replyAction(),
deleteAction(),
AlertAction.cancel()
])