mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 18:31:37 +01:00
Use a different icon for audio attachments
This commit is contained in:
parent
d7eb580053
commit
598cdc9542
2 changed files with 2 additions and 2 deletions
|
@ -544,7 +544,7 @@ export default class Status extends ImmutablePureComponent {
|
||||||
/>)}
|
/>)}
|
||||||
</Bundle>
|
</Bundle>
|
||||||
);
|
);
|
||||||
mediaIcon = 'video-camera';
|
mediaIcon = attachment.get('type') === 'video' ? 'video-camera' : 'music';
|
||||||
} else { // Media type is 'image' or 'gifv'
|
} else { // Media type is 'image' or 'gifv'
|
||||||
media = (
|
media = (
|
||||||
<Bundle fetchComponent={MediaGallery} loading={this.renderLoadingMediaGallery}>
|
<Bundle fetchComponent={MediaGallery} loading={this.renderLoadingMediaGallery}>
|
||||||
|
|
|
@ -150,7 +150,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
||||||
onToggleVisibility={this.props.onToggleMediaVisibility}
|
onToggleVisibility={this.props.onToggleMediaVisibility}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
mediaIcon = 'video-camera';
|
mediaIcon = attachment.get('type') === 'video' ? 'video-camera' : 'music';
|
||||||
} else {
|
} else {
|
||||||
media = (
|
media = (
|
||||||
<MediaGallery
|
<MediaGallery
|
||||||
|
|
Loading…
Reference in a new issue