diff --git a/lib/screens/wallet/receive.dart b/lib/screens/wallet/receive.dart index 00e6c080..fba2d4d4 100644 --- a/lib/screens/wallet/receive.dart +++ b/lib/screens/wallet/receive.dart @@ -80,6 +80,13 @@ class ReceiveScreenState extends State { widget.logic.clearInputControllers(); widget.profilesLogic.clearSearch(notify: false); + // Defer state updates until after the current frame to avoid widget tree lock + WidgetsBinding.instance.addPostFrameCallback((_) { + widget.logic.clearTipping(); + widget.logic.updateMessage(); + widget.logic.updateListenerAmount(); + }); + super.dispose(); }