From d22238cd1028e5364c4bb826306e394b9f8fcb94 Mon Sep 17 00:00:00 2001 From: michael1011 Date: Tue, 17 Dec 2024 17:09:05 +0100 Subject: [PATCH] fix: refund files for non RBTC pairs in mobile EVM browsers (#776) --- src/components/CreateButton.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/CreateButton.tsx b/src/components/CreateButton.tsx index cb3b4fb9..2d97f7d2 100644 --- a/src/components/CreateButton.tsx +++ b/src/components/CreateButton.tsx @@ -362,7 +362,8 @@ export const CreateButton = () => { isRecklessMode() || swapType() === SwapType.Reverse || assetSend() === RBTC || - isMobileEvmBrowser() + // Only disable refund files on mobile EVM browsers when one side is RSK + (assetReceive() === RBTC && isMobileEvmBrowser()) ) { navigate("/swap/" + data.id); } else {