mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Update LnurlAuth.kt
Fix when statement Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,7 @@ class LnurlAuth {
|
||||
val inputType = parseInput(lnurlAuthUrl)
|
||||
if (inputType is InputType.LnUrlAuth) {
|
||||
when (val result = sdk.lnurlAuth(inputType.data)) {
|
||||
LnUrlCallbackStatus.Ok -> {} // Log.v("Breez", "Successfully authenticated")
|
||||
is LnUrlCallbackStatus.Ok -> {} // Log.v("Breez", "Successfully authenticated")
|
||||
is LnUrlCallbackStatus.ErrorStatus -> {} // Log.v("Breez", "Failed to authenticate: ${result.data.reason}")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user