Skip to content

Commit

Permalink
Stringify translated text in addIncreaseValueAnimation.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 364c313cc7fe6cc1dbb0f2fe66dd383d8609038d
  • Loading branch information
cpojer committed Jan 8, 2025
1 parent 06bfc67 commit 0c77949
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hera/animations/addIncreaseValueAnimation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default async function addIncreaseValueAnimation(
},
player,
sound: 'UI/Start',
text:
text: String(
actionResponse.type === 'IncreaseCharge'
? fbt(
fbt.param(
Expand Down Expand Up @@ -56,6 +56,7 @@ export default async function addIncreaseValueAnimation(
'!',
'Charge increased message',
),
),
type: 'banner',
}),
map: newMap,
Expand Down

0 comments on commit 0c77949

Please sign in to comment.