From ae84a64b7169d2d849ea285391899d48275e17e2 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Mon, 9 Feb 2026 14:09:07 -0500 Subject: [PATCH] Fixes reformatting bug --- .../vitorpamplona/amethyst/ui/screen/AccountStateViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {