From cc79da72cc3cbd30c61ff90f506c9d8d4604cd1b Mon Sep 17 00:00:00 2001 From: DanGould Date: Tue, 24 Dec 2024 01:47:50 -0500 Subject: [PATCH] Don't display txid in toast While we should create a success screen to display the Payjoin Success with a link to mempool.space, I'm not comfortable linking directly from the alert, since some people might not want to reveal their IP addres to the explorer, and making a stopgap payjoin success screen seems like an unnecessary hack when we plan to follow up with a proper payjoin history. So this just gets rid of the txid that renders for now. --- lib/_pkg/payjoin/event.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_pkg/payjoin/event.dart b/lib/_pkg/payjoin/event.dart index 48fb436f..adcc471c 100644 --- a/lib/_pkg/payjoin/event.dart +++ b/lib/_pkg/payjoin/event.dart @@ -51,7 +51,7 @@ class _PayjoinEventListenerState extends State { if (event is PayjoinBroadcastEvent) { showToastWidget( position: ToastPosition.top, - AlertUI(text: 'Payjoin transaction broadcast: ${event.txid}'), + const AlertUI(text: 'Payjoin transaction detected'), animationCurve: Curves.decelerate, ); }