diff --git a/src/torrent.js b/src/torrent.js index 83fe842..d74eb18 100644 --- a/src/torrent.js +++ b/src/torrent.js @@ -3,7 +3,28 @@ import formatBytes from './format-bytes' import {ListItem} from 'material-ui/List'; import Divider from 'material-ui/Divider'; -const contentIcon = (type) => { +const contentIcon = (type, category) => { + if(category == 'xxx') + { + return ( + + + + + + ) + } + switch(type) { case 'video': @@ -182,7 +203,7 @@ return ( } - leftIcon={contentIcon(torrent.contentType)} + leftIcon={contentIcon(torrent.contentType, torrent.contentCategory)} rightIcon={