mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-28 01:52:56 +03:00
Merge pull request #1218 from esteemapp/bugfix/notification-unvote-text
Fixed unvoted text for notification screen
This commit is contained in:
commit
76e9df8e6b
@ -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