From 5d6004c3dc48321929a3e4770b08710b8ade67f4 Mon Sep 17 00:00:00 2001 From: CMK Date: Thu, 6 May 2021 16:36:10 +0800 Subject: [PATCH] fix: poll input not trigger publish bar button item state issue --- Mastodon/Scene/Compose/ComposeViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/Scene/Compose/ComposeViewModel.swift b/Mastodon/Scene/Compose/ComposeViewModel.swift index 587b56f2..58d1ffa7 100644 --- a/Mastodon/Scene/Compose/ComposeViewModel.swift +++ b/Mastodon/Scene/Compose/ComposeViewModel.swift @@ -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 } }