From 053d7f56188d80281134816cb95f2617eac41d20 Mon Sep 17 00:00:00 2001 From: pranavjadhav007 Date: Tue, 17 Jun 2025 19:41:08 +0530 Subject: [PATCH] Automatically approve the transaction request from app --- src/screens/ApproveTransfer.tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/screens/ApproveTransfer.tsx b/src/screens/ApproveTransfer.tsx index 9e60053..40d1ec5 100644 --- a/src/screens/ApproveTransfer.tsx +++ b/src/screens/ApproveTransfer.tsx @@ -2,7 +2,6 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { Image, ScrollView, View } from 'react-native'; import { ActivityIndicator, - Button, Text, Appbar, TextInput, @@ -41,6 +40,8 @@ import { COSMOS, EIP155, IS_NUMBER_REGEX } from '../utils/constants'; import TxErrorDialog from '../components/TxErrorDialog'; import { EIP155_SIGNING_METHODS } from '../utils/wallet-connect/EIP155Data'; import { COSMOS_METHODS } from '../utils/wallet-connect/COSMOSData'; +import { Button } from '@mui/material'; +import { LoadingButton } from '@mui/lab'; export const MEMO = 'Sending signed tx from Laconic Wallet'; // Reference: https://ethereum.org/en/developers/docs/gas/#what-is-gas-limit @@ -708,17 +709,18 @@ const ApproveTransfer = ({ route }: ApproveTransferProps) => { )} - +