mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-05 12:36:31 +03:00
Merge pull request #778 from esteemapp/feature/epoint-design
fixed color for points and fixed percent for notificiatipn
This commit is contained in:
commit
6325cbba7c
@ -55,7 +55,7 @@ class NotificationLineView extends PureComponent {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (notification.weight) {
|
if (notification.weight) {
|
||||||
const _percent = `${(notification.weight / 100).toFixed(0)}% `;
|
const _percent = `${(notification.weight / 100).toFixed(2)}% `;
|
||||||
|
|
||||||
_title = _percent + _title;
|
_title = _percent + _title;
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ export default EStyleSheet.create({
|
|||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
},
|
},
|
||||||
subText: {
|
subText: {
|
||||||
color: '$tagColor',
|
color: '$darkIconColor',
|
||||||
fontSize: 8,
|
fontSize: 8,
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignSelf: 'center',
|
alignSelf: 'center',
|
||||||
@ -120,4 +120,7 @@ export default EStyleSheet.create({
|
|||||||
overlay: {
|
overlay: {
|
||||||
backgroundColor: '#403c4449',
|
backgroundColor: '#403c4449',
|
||||||
},
|
},
|
||||||
|
popoverText: {
|
||||||
|
color: '$primaryDarkText',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
@ -128,7 +128,7 @@ class PointsView extends Component {
|
|||||||
supportedOrientations={['portrait', 'landscape']}
|
supportedOrientations={['portrait', 'landscape']}
|
||||||
>
|
>
|
||||||
<View style={styles.popoverWrapper}>
|
<View style={styles.popoverWrapper}>
|
||||||
<Text>{intl.formatMessage({ id: POINTS[item.type].descriptionKey })}</Text>
|
<Text style={styles.popoverText}>{intl.formatMessage({ id: POINTS[item.type].descriptionKey })}</Text>
|
||||||
</View>
|
</View>
|
||||||
</Popover>
|
</Popover>
|
||||||
</View>
|
</View>
|
||||||
|
Loading…
Reference in New Issue
Block a user