@@ -163,7 +163,7 @@ watch(
163163
164164const calcGasFee = (target ) => {
165165 const gasLimit = typeof estimatedGasLimit .value === " number" ? estimatedGasLimit .value : estimatedGasLimit .value .replaceAll (" " , " " )
166- return comma ((gasLimit * appStore .gas [target .toLowerCase ()]).toFixed (2 ))
166+ return comma ((( selectedGasLimit . value === ' Custom ' ? Number . parseInt ( customGasLimit . value . toString (). replaceAll ( " " , " " )) : gasLimit) * appStore .gas [target .toLowerCase ()]).toFixed (2 ))
167167}
168168
169169const runGasLimitEstimation = async () => {
@@ -202,7 +202,7 @@ watch(
202202 amp .log (" showSendModal" )
203203
204204 if (! appStore .address ? .length ) {
205- warningBannerText .value = " Keplr wallet connection is required to send TIA."
205+ warningBannerText .value = " Wallet connection is required to send TIA."
206206 } else if (hostname !== " celenium.io" ) {
207207 warningBannerText .value = ` You are currently on ${ hostname} . The transaction will be performed on the test network.`
208208 } else {
@@ -245,7 +245,7 @@ const continueButton = computed(() => {
245245 }
246246 }
247247
248- if (parseFloat (amount .value ) === 0 ) {
248+ if (parseFloat (amount .value ) === 0 || isNaN ( parseFloat ( amount . value )) ) {
249249 return {
250250 title: " Enter the amount" ,
251251 disable: true ,
@@ -481,8 +481,8 @@ const handleContinue = async () => {
481481 placeholder= " 0.00"
482482 / >
483483
484- < Flex direction= " column" gap= " 12" style = " opacity: 0.3; pointer-events: none " >
485- < Flex direction= " column" gap= " 8" >
484+ < Flex direction= " column" gap= " 12" >
485+ < Flex direction= " column" gap= " 8" : style = " appStore.wallet !== 'leap' && { pointerEvents: 'none', opacity: 0.3 } " >
486486 < Text size= " 12" weight= " 600" color= " secondary" > Gas Fees< / Text >
487487
488488 < Flex align= " center" justify= " between" gap= " 12" >
@@ -531,7 +531,7 @@ const handleContinue = async () => {
531531 < / Flex>
532532 < / Flex>
533533
534- < Flex gap= " 6" >
534+ < Flex v - if = " appStore.wallet === 'keplr' " gap= " 6" >
535535 < Icon name= " info" size= " 12" color= " tertiary" style= " margin-top: 1px" / >
536536 < Text size= " 12" weight= " 500" height= " 140" color= " tertiary" >
537537 Keplr does not currently support receiving a Gas Fee from outside.< br / >
0 commit comments