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
|
// configure author
|
||||||
ComposeStatusSection.configureStatusContent(cell: cell, attribute: composeStatusAttribute)
|
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
|
// configure content warning
|
||||||
cell.statusContentWarningEditorView.textView.text = composeStatusAttribute.contentWarningContent.value
|
cell.statusContentWarningEditorView.textView.text = composeStatusAttribute.contentWarningContent.value
|
||||||
// bind content warning
|
// bind content warning
|
||||||
|
@ -254,7 +258,6 @@ extension ComposeViewModel: UITableViewDataSource {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.store(in: &cell.disposeBag)
|
.store(in: &cell.disposeBag)
|
||||||
|
|
||||||
cell.contentWarningContent
|
cell.contentWarningContent
|
||||||
.removeDuplicates()
|
.removeDuplicates()
|
||||||
.receive(on: DispatchQueue.main)
|
.receive(on: DispatchQueue.main)
|
||||||
|
|
Loading…
Reference in New Issue