mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
created promote listing
This commit is contained in:
parent
2b2748f9a5
commit
74f4c74f67
@ -95,11 +95,8 @@ class PostHeaderDescription extends PureComponent {
|
|||||||
{isShowOwnerIndicator && (
|
{isShowOwnerIndicator && (
|
||||||
<Icon style={styles.ownerIndicator} name="stars" iconType="MaterialIcons" />
|
<Icon style={styles.ownerIndicator} name="stars" iconType="MaterialIcons" />
|
||||||
)}
|
)}
|
||||||
{/* {!!reblogedBy && (
|
|
||||||
// <TextWithIcon text={reblogedBy} iconType="MaterialIcons" iconName="repeat" />
|
|
||||||
<Icon style={styles.reblogedIcon} name="repeat" iconType="MaterialIcons" />
|
|
||||||
)} */}
|
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View style={styles.subLine}>
|
<View style={styles.subLine}>
|
||||||
{!!reblogedBy && (
|
{!!reblogedBy && (
|
||||||
<TextWithIcon
|
<TextWithIcon
|
||||||
@ -108,8 +105,11 @@ class PostHeaderDescription extends PureComponent {
|
|||||||
iconName="repeat"
|
iconName="repeat"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{/* {isPromoted && <Text>sponsored</Text>} */}
|
{isPromoted && (
|
||||||
{isPromoted && <Text style={styles.sponsoredText}>sponsored</Text>}
|
<View style={styles.sponsoredWrapper}>
|
||||||
|
<Text style={styles.sponsoredText}>sponsored</Text>
|
||||||
|
</View>
|
||||||
|
)}
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
@ -7,20 +7,22 @@ export default EStyleSheet.create({
|
|||||||
},
|
},
|
||||||
subLine: {
|
subLine: {
|
||||||
marginTop: 5,
|
marginTop: 5,
|
||||||
marginHorizontal: 3,
|
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
width: '$deviceWidth - 30',
|
width: '$deviceWidth - 30',
|
||||||
|
// justifyContent: 'flex-end',
|
||||||
|
flex: 1,
|
||||||
|
},
|
||||||
|
sponsoredWrapper: {
|
||||||
|
justifyContent: 'flex-end',
|
||||||
|
marginRight: 10,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
sponsoredText: {
|
sponsoredText: {
|
||||||
fontSize: 10,
|
fontSize: 10,
|
||||||
color: '$primaryDarkGray',
|
color: '$primaryDarkGray',
|
||||||
// alignItems: 'flex-end',
|
textAlign: 'right',
|
||||||
// alignItems: 'flex-end',
|
alignItems: 'stretch',
|
||||||
// justifyContent: 'flex-end',
|
|
||||||
// alignItems: 'center',
|
|
||||||
alignSelf: 'flex-end',
|
alignSelf: 'flex-end',
|
||||||
},
|
},
|
||||||
avatar: {
|
avatar: {
|
||||||
|
Loading…
Reference in New Issue
Block a user