refactor: make linter happy
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user