fix: add missing compose predefined text for reply and hashtag
This commit is contained in:
parent
6126c15c66
commit
78436dbb56
|
@ -236,6 +236,10 @@ extension ComposeViewModel: UITableViewDataSource {
|
|||
}
|
||||
// configure author
|
||||
ComposeStatusSection.configureStatusContent(cell: cell, attribute: composeStatusAttribute)
|
||||
// configure content. bind text in UITextViewDelegate
|
||||
if let composeContent = composeStatusAttribute.composeContent.value {
|
||||
cell.metaText.textView.text = composeContent
|
||||
}
|
||||
// configure content warning
|
||||
cell.statusContentWarningEditorView.textView.text = composeStatusAttribute.contentWarningContent.value
|
||||
// bind content warning
|
||||
|
@ -254,7 +258,6 @@ extension ComposeViewModel: UITableViewDataSource {
|
|||
}
|
||||
}
|
||||
.store(in: &cell.disposeBag)
|
||||
|
||||
cell.contentWarningContent
|
||||
.removeDuplicates()
|
||||
.receive(on: DispatchQueue.main)
|
||||
|
|
Loading…
Reference in New Issue