Merge pull request #778 from esteemapp/feature/epoint-design

fixed color for points and fixed percent for notificiatipn
This commit is contained in:
uğur erdal 2019-05-01 13:09:30 +03:00 committed by GitHub
commit 6325cbba7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -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;
}

View File

@ -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',
},
});

View File

@ -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>