Skip to content

Commit

Permalink
Don't display txid in toast
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DanGould committed Dec 24, 2024
1 parent 7e73481 commit cc79da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_pkg/payjoin/event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class _PayjoinEventListenerState extends State<PayjoinEventListener> {
if (event is PayjoinBroadcastEvent) {
showToastWidget(
position: ToastPosition.top,
AlertUI(text: 'Payjoin transaction broadcast: ${event.txid}'),
const AlertUI(text: 'Payjoin transaction detected'),
animationCurve: Curves.decelerate,
);
}
Expand Down

0 comments on commit cc79da7

Please sign in to comment.