From c8691ac0cca20c5a24cfdd3c88501bfbfb9bbfd2 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Tue, 7 May 2024 14:08:08 -0500 Subject: [PATCH] fix address book contact selection Thank you @julian for the patch, ``` Index: lib/pages/send_view/send_view.dart IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/lib/pages/send_view/send_view.dart b/lib/pages/send_view/send_view.dart --- a/lib/pages/send_view/send_view.dart (revision fa8829072ef97171f5a73859551d22e918aafaf0) +++ b/lib/pages/send_view/send_view.dart (date 1715103987498) @@ -906,6 +906,10 @@ sendToController.text = _data!.contactLabel; _address = _data!.address.trim(); _addressToggleFlag = true; + + WidgetsBinding.instance.addPostFrameCallback((timeStamp) { + _setValidAddressProviders(_address); + }); } if (isPaynymSend) { ``` --- lib/pages/send_view/send_view.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/pages/send_view/send_view.dart b/lib/pages/send_view/send_view.dart index 0ffeaafdc..07cdcfd8a 100644 --- a/lib/pages/send_view/send_view.dart +++ b/lib/pages/send_view/send_view.dart @@ -906,6 +906,10 @@ class _SendViewState extends ConsumerState { sendToController.text = _data!.contactLabel; _address = _data!.address.trim(); _addressToggleFlag = true; + + WidgetsBinding.instance.addPostFrameCallback((timeStamp) { + _setValidAddressProviders(_address); + }); } if (isPaynymSend) {