File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
apps/namadillo/src/App/NamadaTransfer Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,14 @@ export const NamadaTransfer: React.FC = () => {
85
85
token : selectedAsset ?. originalAddress ?? "" ,
86
86
displayAmount : displayAmount ?? new BigNumber ( 0 ) ,
87
87
onBeforeBuildTx : ( ) => {
88
- setCurrentStatus ( "Generating MASP Parameters..." ) ;
89
- setCurrentStatusExplanation (
90
- "Generating MASP parameters can take a few seconds. Please wait..."
91
- ) ;
88
+ if ( isSourceShielded ) {
89
+ setCurrentStatus ( "Generating MASP Parameters..." ) ;
90
+ setCurrentStatusExplanation (
91
+ "Generating MASP parameters can take a few seconds. Please wait..."
92
+ ) ;
93
+ } else {
94
+ setCurrentStatus ( "Preparing transaction..." ) ;
95
+ }
92
96
} ,
93
97
onBeforeSign : ( ) => {
94
98
setCurrentStatus ( "Waiting for signature..." ) ;
You can’t perform that action at this time.
0 commit comments