diff --git a/lib/screen/irl_screen/webview_irl_screen.dart b/lib/screen/irl_screen/webview_irl_screen.dart index 7ba79b10d..5f55ee577 100644 --- a/lib/screen/irl_screen/webview_irl_screen.dart +++ b/lib/screen/irl_screen/webview_irl_screen.dart @@ -311,7 +311,6 @@ class _IRLWebScreenState extends State { WCEthereumTransaction.fromJson(transaction), account.wallet.uuid, account.index, - isIRL: true, ); final txHash = await Navigator.of(context).pushNamed( diff --git a/lib/screen/wallet_connect/send/wc_send_transaction_page.dart b/lib/screen/wallet_connect/send/wc_send_transaction_page.dart index 9f8f6a6a4..55cbd0b61 100644 --- a/lib/screen/wallet_connect/send/wc_send_transaction_page.dart +++ b/lib/screen/wallet_connect/send/wc_send_transaction_page.dart @@ -71,7 +71,7 @@ class _WCSendTransactionPageState extends State { context, title: 'confirmation'.tr(), onBack: () { - Navigator.of(context).pop(false); + Navigator.of(context).pop(); }, ), body: BlocConsumer( @@ -224,7 +224,6 @@ class _WCSendTransactionPageState extends State { widget.args.uuid, widget.args.index, topic: widget.args.topic, - isIRL: widget.args.isIRL, ), ); } @@ -444,7 +443,6 @@ class WCSendTransactionPageArgs { final String uuid; final int index; final String? topic; - final bool isIRL; WCSendTransactionPageArgs( this.peerMeta, @@ -452,6 +450,5 @@ class WCSendTransactionPageArgs { this.uuid, this.index, { this.topic, - this.isIRL = false, }); } diff --git a/lib/screen/wallet_connect/send/wc_send_transaction_state.dart b/lib/screen/wallet_connect/send/wc_send_transaction_state.dart index d347373c3..ae208f5aa 100644 --- a/lib/screen/wallet_connect/send/wc_send_transaction_state.dart +++ b/lib/screen/wallet_connect/send/wc_send_transaction_state.dart @@ -32,7 +32,6 @@ class WCSendTransactionSendEvent extends WCSendTransactionEvent { final String? data; final String uuid; final int index; - final bool isIRL; final String? topic; WCSendTransactionSendEvent( @@ -43,7 +42,6 @@ class WCSendTransactionSendEvent extends WCSendTransactionEvent { this.data, this.uuid, this.index, { - this.isIRL = false, this.topic, }); } diff --git a/lib/service/wc2_service.dart b/lib/service/wc2_service.dart index 5a75d0f87..0e42ed4f0 100644 --- a/lib/service/wc2_service.dart +++ b/lib/service/wc2_service.dart @@ -167,7 +167,7 @@ class Wc2Service { return await handler(topic, params); } - Future _checkResultWrapper( + Future _checkResultWrapper( String topic, params, dynamic Function(String, dynamic)? handler) async { if (handler == null) { return;