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