fix built in system paste functionality (aka ctrl-p) on step two of desktop swap

This commit is contained in:
Julian 2024-09-10 07:54:47 -06:00 committed by julian-CStack
parent 9ac0dd809e
commit b0128c867c

View file

@ -357,6 +357,8 @@ class _DesktopStep2State extends ConsumerState<DesktopStep2> {
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<DesktopStep2> {
focusNode: _refundFocusNode,
style: STextStyles.field(context),
onChanged: (value) {
ref.read(desktopExchangeModelProvider)!.refundAddress =
_refundController.text;
widget.enableNextChanged.call(
_next(),
);