diff --git a/packages/kit-bg/src/vaults/impls/bfc/sdkBfc/transactions.ts b/packages/kit-bg/src/vaults/impls/bfc/sdkBfc/transactions.ts index eddbab3707b..00cdd5dda3b 100644 --- a/packages/kit-bg/src/vaults/impls/bfc/sdkBfc/transactions.ts +++ b/packages/kit-bg/src/vaults/impls/bfc/sdkBfc/transactions.ts @@ -104,7 +104,7 @@ async function createTokenTransaction({ key: ETranslations.earn_insufficient_balance, }); } - + // Max send native token if (maxSendNativeToken && coinType === BFC_TYPE_ARG) { tx.transferObjects([tx.gas], recipient); diff --git a/packages/kit/src/views/Send/pages/SendConfirm/TxFeeContainer.tsx b/packages/kit/src/views/Send/pages/SendConfirm/TxFeeContainer.tsx index 647704f32dc..2146d895c0a 100644 --- a/packages/kit/src/views/Send/pages/SendConfirm/TxFeeContainer.tsx +++ b/packages/kit/src/views/Send/pages/SendConfirm/TxFeeContainer.tsx @@ -722,8 +722,8 @@ function TxFeeContainer(props: IProps) { } // build swap tx fee info base on first approve fee info else if ( - !selectedFeeInfo && - (isMultiTxs || isLastSwapTxWithFeeInfo) && + (isLastSwapTxWithFeeInfo || !selectedFeeInfo) && + (isLastSwapTxWithFeeInfo || isMultiTxs) && unsignedTx.swapInfo && (selectedFeeInfos[0].gas || selectedFeeInfos[0].gasEIP1559) ) { diff --git a/packages/kit/src/views/Setting/pages/FloatingIcon/index.tsx b/packages/kit/src/views/Setting/pages/FloatingIcon/index.tsx index 0ecd8a5dce2..95648326f49 100644 --- a/packages/kit/src/views/Setting/pages/FloatingIcon/index.tsx +++ b/packages/kit/src/views/Setting/pages/FloatingIcon/index.tsx @@ -32,7 +32,9 @@ function FloatingIconModal() { size={ESwitchSize.large} value={settings.isFloatingIconAlwaysDisplay} onChange={async (value) => { - await backgroundApiProxy.serviceSetting.setIsShowFloatingButton(value); + await backgroundApiProxy.serviceSetting.setIsShowFloatingButton( + value, + ); }} />