diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/AccountStateViewModel.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/AccountStateViewModel.kt index 1fb1fa7971..65b87c9b72 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/AccountStateViewModel.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/AccountStateViewModel.kt @@ -119,7 +119,7 @@ class AccountStateViewModel : ViewModel() { is NEmbed -> null is NRelay -> null is NAddress -> null - else -> runCatching { if (loginWithExternalSigner) Hex.decode(key) else null } + else -> runCatching { if (loginWithExternalSigner) Hex.decode(key) else null }.getOrNull() } if (loginWithExternalSigner && pubKeyParsed == null) {