Fix amount case for bubble alerts

This commit is contained in:
Bill 2022-03-16 18:18:46 -04:00
parent 87ef373e43
commit 6516c0b1b1

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);