From 266fa7d8474204130d63e6a42459286e518ab621 Mon Sep 17 00:00:00 2001 From: u-e Date: Wed, 1 May 2019 13:08:44 +0300 Subject: [PATCH] fixed color for points and fixed percent for notificiatipn --- src/components/notificationLine/view/notificationLineView.js | 2 +- src/components/points/view/pointsStyles.js | 5 ++++- src/components/points/view/pointsView.js | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/notificationLine/view/notificationLineView.js b/src/components/notificationLine/view/notificationLineView.js index da78b2e7c..218831352 100644 --- a/src/components/notificationLine/view/notificationLineView.js +++ b/src/components/notificationLine/view/notificationLineView.js @@ -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; } diff --git a/src/components/points/view/pointsStyles.js b/src/components/points/view/pointsStyles.js index 25f49968f..d8830b550 100644 --- a/src/components/points/view/pointsStyles.js +++ b/src/components/points/view/pointsStyles.js @@ -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', + }, }); diff --git a/src/components/points/view/pointsView.js b/src/components/points/view/pointsView.js index 5d3ce6037..e59649f5d 100644 --- a/src/components/points/view/pointsView.js +++ b/src/components/points/view/pointsView.js @@ -128,7 +128,7 @@ class PointsView extends Component { supportedOrientations={['portrait', 'landscape']} > - {intl.formatMessage({ id: POINTS[item.type].descriptionKey })} + {intl.formatMessage({ id: POINTS[item.type].descriptionKey })}