Skip to content

Commit e226524

Browse files
committed
feat(suite): add destination tag banner into receive modal
1 parent 124d617 commit e226524

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/suite/src/components/suite/modals/ReduxModal/ConfirmValueModal/ConfirmValueModal.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ export const ConfirmValueModal = ({
128128
</Paragraph>
129129
</Banner>
130130
)}
131+
{account.networkType === 'ripple' && (
132+
<Banner variant="info" icon="info">
133+
<Translation id="DESTINATION_TAG_BANNER_RECEIVE" />
134+
</Banner>
135+
)}
131136
<Row gap={spacings.xl} alignItems="stretch">
132137
<Column flex="1 1 50%" alignItems="center">
133138
<Card>

packages/suite/src/support/messages.ts

+5
Original file line numberDiff line numberDiff line change
@@ -5476,6 +5476,11 @@ export default defineMessages({
54765476
'Most exchanges require you to include a memo/destination tag to identify your Ripple account. Make sure you really don’t need it.',
54775477
id: 'DESTINATION_TAG_BANNER_SEND',
54785478
},
5479+
DESTINATION_TAG_BANNER_RECEIVE: {
5480+
defaultMessage:
5481+
'Most exchanges require you to include memo/destination tag to send a transaction to your Trezor. You can fill in any sequence of numbers (e.g., 12345)',
5482+
id: 'DESTINATION_TAG_BANNER_RECEIVE',
5483+
},
54795484
DESTINATION_TAG_TOOLTIP: {
54805485
id: 'DESTINATION_TAG_TOOLTIP',
54815486
defaultMessage:

0 commit comments

Comments
 (0)