fix small channel image previews
This commit is contained in:
parent
150659b4ac
commit
b374e94710
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue