unified display of channel results #108

Merged
akinwale merged 5 commits from channel-results into master 2020-01-09 17:19:31 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d87c2a2218 - Show all commits

View file

@ -169,7 +169,7 @@ class FileListItem extends React.PureComponent {
{isChannel && ( {isChannel && (
<View style={fileListStyle.thumbnail}> <View style={fileListStyle.thumbnail}>
<View style={fileListStyle.channelThumbnailContainer}> <View style={[fileListStyle.channelThumbnailContainer, this.state.autoStyle]}>
{hasThumbnail && ( {hasThumbnail && (
<Image style={fileListStyle.channelThumbnail} resizeMode={'cover'} source={{ uri: thumbnail }} /> <Image style={fileListStyle.channelThumbnail} resizeMode={'cover'} source={{ uri: thumbnail }} />
)} )}

View file

@ -98,7 +98,7 @@ class FileResultItem extends React.PureComponent {
{isChannel && ( {isChannel && (
<View style={fileListStyle.thumbnail}> <View style={fileListStyle.thumbnail}>
<View style={fileListStyle.channelThumbnailContainer}> <View style={[fileListStyle.channelThumbnailContainer, this.state.autoStyle]}>
{hasThumbnail && ( {hasThumbnail && (
<FastImage <FastImage
style={fileListStyle.channelThumbnail} style={fileListStyle.channelThumbnail}