hide lnurl from confirm sending sheet (#3207)
malik1004x committed
May 6, 2026 at 21:49 UTC
f0ef21721078572d3f2c0971ff52af4b1b9ef9a7
1 file changed
+5
-2
lib/new-ui/widgets/send_page/send_confirm_sheet.dart
+5
-2
@@ -213,8 +213,11 @@ class SendTransactionDetails extends StatelessWidget {
213
)
214
: sendViewModel.pendingTransactionFeeFiatAmountFormatted;
215
216
- final showAddress = !sendViewModel.outputs.any(
217
- (e) => RegExp(AddressValidator.bolt11InvoiceMatcher).hasMatch(e.address.toLowerCase()));
216
+ final showAddress = !sendViewModel.outputs.any((e) =>
217
+ RegExp(AddressValidator.bolt11InvoiceMatcher).hasMatch(e.address.toLowerCase()) ||
218
+ RegExp(AddressValidator.lnurlMatcher).hasMatch(e.address.toLowerCase()) ||
219
+ RegExp(AddressValidator.lnurlMatcher)
220
+ .hasMatch(e.parsedAddress.addresses.first.toLowerCase()));
221
222
final outputs = sendViewModel.outputs;
223