mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 22:03:21 +03:00
Fixed unvoted text for notification screen
This commit is contained in:
parent
9e4c032eb0
commit
80c12842eb
@ -54,6 +54,11 @@ class NotificationLineView extends PureComponent {
|
||||
|
||||
if (notification.weight) {
|
||||
const _percent = `${parseFloat((notification.weight / 100).toFixed(2))}% `;
|
||||
if (notification.weight < 0) {
|
||||
_title = formatMessage({
|
||||
id: 'notification.unvote',
|
||||
});
|
||||
}
|
||||
|
||||
_title = _percent + _title;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user