fix claim result channel thumbnail view
This commit is contained in:
parent
f1aafd6e34
commit
7a3def7ea1
2 changed files with 8 additions and 1 deletions
src
|
@ -85,7 +85,7 @@ class ClaimResultItem extends React.PureComponent {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{isChannel && (
|
{isChannel && (
|
||||||
<View style={fileListStyle.thumbnail}>
|
<View style={fileListStyle.channelThumbnailView}>
|
||||||
<View style={[fileListStyle.channelThumbnailContainer, this.state.autoStyle]}>
|
<View style={[fileListStyle.channelThumbnailContainer, this.state.autoStyle]}>
|
||||||
{hasThumbnail && (
|
{hasThumbnail && (
|
||||||
<FastImage
|
<FastImage
|
||||||
|
|
|
@ -39,6 +39,13 @@ const fileListStyle = StyleSheet.create({
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
},
|
},
|
||||||
|
channelThumbnailView: {
|
||||||
|
width: thumbnailWidth,
|
||||||
|
height: thumbnailHeight,
|
||||||
|
marginRight: screenWidthPixels <= 720 ? 10 : 12,
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center',
|
||||||
|
},
|
||||||
channelThumbnailContainer: {
|
channelThumbnailContainer: {
|
||||||
width: thumbnailHeight, // maintain same width and height
|
width: thumbnailHeight, // maintain same width and height
|
||||||
height: thumbnailHeight,
|
height: thumbnailHeight,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue