Change poll options to alphabetic letters when status text is hidden (#10685)

Fix #10569
This commit is contained in:
Eugen Rochko
2019-05-18 14:41:16 +02:00
committed by GitHub
parent 2c12620adb
commit 6fe474837c
3 changed files with 10 additions and 8 deletions

View File

@ -272,7 +272,7 @@ class Status extends ImmutablePureComponent {
}
if (status.get('poll')) {
media = <PollContainer pollId={status.get('poll')} />;
media = <PollContainer pollId={status.get('poll')} visible={!status.get('hidden')} />;
} else if (status.get('media_attachments').size > 0) {
if (this.props.muted) {
media = (