File tree 1 file changed +6
-4
lines changed
suite-native/module-send/src/screens
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ import { constructFormDraft } from '../utils';
49
49
50
50
const getDefaultValues = ( {
51
51
tokenContract,
52
+ enableDestinationTagValidation,
52
53
} : {
53
54
tokenContract ?: TokenAddress ;
55
+ enableDestinationTagValidation : boolean ;
54
56
} ) : Readonly < SendOutputsFormValues > =>
55
57
( {
56
- enableDestinationTagValidation : true ,
58
+ enableDestinationTagValidation,
57
59
outputs : [
58
60
{
59
61
amount : '' ,
@@ -114,10 +116,10 @@ export const SendOutputsScreen = ({
114
116
decimals : tokenInfo ?. decimals ?? network ?. decimals ,
115
117
isTaprootAvailable : ! deviceUnavailableCapabilities ?. taproot ,
116
118
} ,
117
- defaultValues : {
118
- ... getDefaultValues ( { tokenContract } ) ,
119
+ defaultValues : getDefaultValues ( {
120
+ tokenContract,
119
121
enableDestinationTagValidation : network ?. networkType === 'ripple' ,
120
- } ,
122
+ } ) ,
121
123
} ) ;
122
124
123
125
const {
You can’t perform that action at this time.
0 commit comments