fix small channel image previews

This commit is contained in:
Jeremy Kauffman 2019-12-07 10:56:00 -05:00 committed by Sean Yesmunt
parent 150659b4ac
commit b374e94710

View file

@ -15,7 +15,7 @@ type Props = {
function ChannelThumbnail(props: Props) { function ChannelThumbnail(props: Props) {
const { thumbnail, uri, className, thumbnailPreview, obscure, small = false } = props; const { thumbnail, uri, className, thumbnailPreview, obscure, small = false } = props;
const showThumb = !obscure && !!thumbnail; const showThumb = (!obscure && !!thumbnail) || thumbnailPreview;
// Generate a random color class based on the first letter of the channel name // Generate a random color class based on the first letter of the channel name
const { channelName } = parseURI(uri); const { channelName } = parseURI(uri);