Use a different icon for audio attachments
This commit is contained in:
1 parent
d7eb580053
commit
598cdc9542
2 files changed
+2
-2
No files matched your search
@@ -150,7 +150,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
||||
onToggleVisibility={this.props.onToggleMediaVisibility}
|
||||
/>
|
||||
);
|
||||
mediaIcon = 'video-camera';
|
||||
mediaIcon = attachment.get('type') === 'video' ? 'video-camera' : 'music';
|
||||
} else {
|
||||
media = (
|
||||
<MediaGallery
|
||||
|
||||
Reference in new issue
Block a user