hide lnurl from confirm sending sheet (#3207)

This commit is contained in:
malik1004x
2026-05-06 21:49:47 +02:00
committed by GitHub
parent c0d1152c45
commit f0ef217210
@@ -213,8 +213,11 @@ class SendTransactionDetails extends StatelessWidget {
)
: sendViewModel.pendingTransactionFeeFiatAmountFormatted;
final showAddress = !sendViewModel.outputs.any(
(e) => RegExp(AddressValidator.bolt11InvoiceMatcher).hasMatch(e.address.toLowerCase()));
final showAddress = !sendViewModel.outputs.any((e) =>
RegExp(AddressValidator.bolt11InvoiceMatcher).hasMatch(e.address.toLowerCase()) ||
RegExp(AddressValidator.lnurlMatcher).hasMatch(e.address.toLowerCase()) ||
RegExp(AddressValidator.lnurlMatcher)
.hasMatch(e.parsedAddress.addresses.first.toLowerCase()));
final outputs = sendViewModel.outputs;