mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 20:01:56 +03:00
updated notf percent logic
This commit is contained in:
parent
03b8d9d8b1
commit
34f11531fa
@ -55,7 +55,7 @@ class NotificationLineView extends PureComponent {
|
||||
});
|
||||
|
||||
if (notification.weight) {
|
||||
const _percent = `${(notification.weight / 100).toFixed(2)}% `;
|
||||
const _percent = `${parseFloat((notification.weight / 100).toFixed(2))}% `;
|
||||
|
||||
_title = _percent + _title;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user