mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-03 03:25:24 +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) {
|
||||
const _percent = `${(notification.weight / 100).toFixed(0)}% `;
|
||||
const _percent = `${(notification.weight / 100).toFixed(2)}% `;
|
||||
|
||||
_title = _percent + _title;
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ export default EStyleSheet.create({
|
||||
fontWeight: 'bold',
|
||||
},
|
||||
subText: {
|
||||
color: '$tagColor',
|
||||
color: '$darkIconColor',
|
||||
fontSize: 8,
|
||||
justifyContent: 'center',
|
||||
alignSelf: 'center',
|
||||
@ -120,4 +120,7 @@ export default EStyleSheet.create({
|
||||
overlay: {
|
||||
backgroundColor: '#403c4449',
|
||||
},
|
||||
popoverText: {
|
||||
color: '$primaryDarkText',
|
||||
},
|
||||
});
|
||||
|
@ -128,7 +128,7 @@ class PointsView extends Component {
|
||||
supportedOrientations={['portrait', 'landscape']}
|
||||
>
|
||||
<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>
|
||||
</Popover>
|
||||
</View>
|
||||
|
Loading…
Reference in New Issue
Block a user