mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-04-26 22:35:48 +08:00
add Reply action on didTapMore(cell: sender:)
This commit is contained in:
@@ -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()
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user