Skip to content

Commit 9ce1c33

Browse files
committed
fixup! feat(suite-native): ripple asks for destination tag by default in send
1 parent 6e7d691 commit 9ce1c33

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Diff for: suite-native/module-send/src/screens/SendOutputsScreen.tsx

+6-4
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ import { constructFormDraft } from '../utils';
4949

5050
const getDefaultValues = ({
5151
tokenContract,
52+
enableDestinationTagValidation,
5253
}: {
5354
tokenContract?: TokenAddress;
55+
enableDestinationTagValidation: boolean;
5456
}): Readonly<SendOutputsFormValues> =>
5557
({
56-
enableDestinationTagValidation: true,
58+
enableDestinationTagValidation,
5759
outputs: [
5860
{
5961
amount: '',
@@ -114,10 +116,10 @@ export const SendOutputsScreen = ({
114116
decimals: tokenInfo?.decimals ?? network?.decimals,
115117
isTaprootAvailable: !deviceUnavailableCapabilities?.taproot,
116118
},
117-
defaultValues: {
118-
...getDefaultValues({ tokenContract }),
119+
defaultValues: getDefaultValues({
120+
tokenContract,
119121
enableDestinationTagValidation: network?.networkType === 'ripple',
120-
},
122+
}),
121123
});
122124

123125
const {

0 commit comments

Comments
 (0)