mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 09:13:33 +03:00
add delegations text
This commit is contained in:
parent
503e2a4146
commit
3151b6e12e
@ -29,7 +29,7 @@ const NotificationLineView = ({ notification, handleOnPressNotification, handleO
|
||||
handleOnPressNotification(notification);
|
||||
};
|
||||
|
||||
if (notification.type === 'transfer') {
|
||||
if (notification.type === 'transfer' || notification.type === 'delegations') {
|
||||
titleExtra = notification.amount;
|
||||
} else if (notification.weight) {
|
||||
const _percent = `${parseFloat((notification.weight / 100).toFixed(2))}% `;
|
||||
|
@ -118,6 +118,7 @@
|
||||
"ignore": "ignored you",
|
||||
"reblog": "reblogged",
|
||||
"transfer": "transferred",
|
||||
"delegations": "delegated",
|
||||
"spin": "Time to earn more Points",
|
||||
"inactive": "Be active! Write a post, continue earning",
|
||||
"referral": "joined with your referral, welcome them",
|
||||
@ -199,7 +200,8 @@
|
||||
"comment": "Comment",
|
||||
"mention": "Mention",
|
||||
"reblog": "Reblog",
|
||||
"transfers": "Transfers"
|
||||
"transfers": "Transfers",
|
||||
"delegations": "Delegations"
|
||||
},
|
||||
"pincode": "PIN code",
|
||||
"reset_pin": "Reset Pin Code",
|
||||
|
@ -383,7 +383,7 @@ export const getLeaderboard = async (duration:'day'|'week'|'month') => {
|
||||
* @returns array of notifications
|
||||
*/
|
||||
export const getNotifications = async (data:{
|
||||
filter?: "rvotes"|"mentions"|"follows"|"replies"|"reblogs"|"transfers",
|
||||
filter?: "rvotes"|"mentions"|"follows"|"replies"|"reblogs"|"transfers"|"delegations",
|
||||
since?:string
|
||||
}) => {
|
||||
try{
|
||||
|
Loading…
Reference in New Issue
Block a user