refactor: make linter happy

This commit is contained in:
2026-06-12 18:15:04 +02:00
parent f2d6aeb13b
commit c155f43870
19 changed files with 46 additions and 52 deletions
@@ -40,7 +40,7 @@ object LnurlMetadataParser {
/**
* Returns the display label for a LNURL payment target.
* If [lnurl] is a Lightning Address (contains '@'), returns it as-is.
* Otherwise returns the [domain] of the LNURL endpoint.
* Otherwise, returns the [domain] of the LNURL endpoint.
*/
fun payingToLabel(lnurl: String, domain: String): String =
if ('@' in lnurl) lnurl else domain