diff --git a/app/src/main/java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt b/app/src/main/java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt index 4dd37d4b6..3da20b268 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/service/Nip05Verifier.kt @@ -47,13 +47,13 @@ class Nip05Verifier() { if (it.isSuccessful) { onSuccess(it.body.string()) } else { - onError("Could not resolve $nip05. Error: ${it.code}. Check if the server up and if the address $nip05 is correct") + onError("Could not resolve $nip05. Error: ${it.code}. Check if the server is up and if the address $nip05 is correct") } } } override fun onFailure(call: Call, e: java.io.IOException) { - onError("Could not resolve $url. Check if the server up and if the address $nip05 is correct") + onError("Could not resolve $url. Check if the server is up and if the address $nip05 is correct") e.printStackTrace() } }) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/service/lnurl/LightningAddressResolver.kt b/app/src/main/java/com/vitorpamplona/amethyst/service/lnurl/LightningAddressResolver.kt index 6adb42fd7..6d67e3ddb 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/service/lnurl/LightningAddressResolver.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/service/lnurl/LightningAddressResolver.kt @@ -57,12 +57,12 @@ class LightningAddressResolver() { if (it.isSuccessful) { onSuccess(it.body.string()) } else { - onError("The receiver's lightning service at $url is not available. It was calculated from the lightning address \"${lnaddress}\". Error: ${it.code}. Check if the server up and if the lightning address is correct") + onError("The receiver's lightning service at $url is not available. It was calculated from the lightning address \"${lnaddress}\". Error: ${it.code}. Check if the server is up and if the lightning address is correct") } } } catch (e: Exception) { e.printStackTrace() - onError("Could not resolve $url. Check if the server up and if the lightning address $lnaddress is correct") + onError("Could not resolve $url. Check if the server is up and if the lightning address $lnaddress is correct") } }