mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-02 02:31:41 +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) {
|
if (notification.weight) {
|
||||||
const _percent = `${(notification.weight / 100).toFixed(2)}% `;
|
const _percent = `${parseFloat((notification.weight / 100).toFixed(2))}% `;
|
||||||
|
|
||||||
_title = _percent + _title;
|
_title = _percent + _title;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user