From b0128c867ca0b01a3ead7a950097da0ca3e679ad Mon Sep 17 00:00:00 2001 From: Julian Date: Tue, 10 Sep 2024 07:54:47 -0600 Subject: [PATCH] fix built in system paste functionality (aka ctrl-p) on step two of desktop swap --- .../exchange_steps/subwidgets/desktop_step_2.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/pages_desktop_specific/desktop_exchange/exchange_steps/subwidgets/desktop_step_2.dart b/lib/pages_desktop_specific/desktop_exchange/exchange_steps/subwidgets/desktop_step_2.dart index 094ee452d..a7f76c7e8 100644 --- a/lib/pages_desktop_specific/desktop_exchange/exchange_steps/subwidgets/desktop_step_2.dart +++ b/lib/pages_desktop_specific/desktop_exchange/exchange_steps/subwidgets/desktop_step_2.dart @@ -357,6 +357,8 @@ class _DesktopStep2State extends ConsumerState { focusNode: _toFocusNode, style: STextStyles.field(context), onChanged: (value) { + ref.read(desktopExchangeModelProvider)!.recipientAddress = + _toController.text; widget.enableNextChanged.call( _next(), ); @@ -504,6 +506,8 @@ class _DesktopStep2State extends ConsumerState { focusNode: _refundFocusNode, style: STextStyles.field(context), onChanged: (value) { + ref.read(desktopExchangeModelProvider)!.refundAddress = + _refundController.text; widget.enableNextChanged.call( _next(), );