%AMOUNT% fixed

This commit is contained in:
Layne 2022-03-16 18:18:20 -04:00
parent ebbeb62bcb
commit d86b353950

View File

@ -69,7 +69,7 @@ export const NotificationCenterMessageHandler: FC<{}> = props =>
const imageUrl = GetConfiguration<string>('currency.asset.icon.url', '').replace('%type%', parser.type.toString()); const imageUrl = GetConfiguration<string>('currency.asset.icon.url', '').replace('%type%', parser.type.toString());
NotificationUtilities.showSingleBubble(LocalizeText('notifications.text.loyalty.received', [ 'amount' ], [ parser.amountChanged.toString() ]), NotificationBubbleType.INFO, imageUrl); NotificationUtilities.showSingleBubble(LocalizeText('notifications.text.loyalty.received', [ 'AMOUNT' ], [ parser.amountChanged.toString() ]), NotificationBubbleType.INFO, imageUrl);
}, []); }, []);
UseMessageEventHook(ActivityPointNotificationMessageEvent, onActivityPointNotificationMessageEvent); UseMessageEventHook(ActivityPointNotificationMessageEvent, onActivityPointNotificationMessageEvent);