fix: poll input not trigger publish bar button item state issue

This commit is contained in:
CMK 2021-05-06 16:36:10 +08:00
parent 1424d07e1d
commit 5d6004c3dc
1 changed files with 1 additions and 1 deletions

View File

@ -415,6 +415,6 @@ extension ComposeViewModel: MastodonAttachmentServiceDelegate {
extension ComposeViewModel: ComposePollAttributeDelegate {
func composePollAttribute(_ attribute: ComposeStatusItem.ComposePollOptionAttribute, pollOptionDidChange: String?) {
// trigger update
// pollOptionAttributes.value = pollOptionAttributes.value
pollOptionAttributes.value = pollOptionAttributes.value
}
}