From 3c32dbc701724b59b01791478338342428a30758 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 3 Mar 2026 10:23:27 -0500 Subject: [PATCH] lint --- .../amethyst/ui/actions/NewUserMetadataViewModel.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/actions/NewUserMetadataViewModel.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/actions/NewUserMetadataViewModel.kt index 7b2d6506e..ee6550f6c 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/actions/NewUserMetadataViewModel.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/actions/NewUserMetadataViewModel.kt @@ -92,7 +92,12 @@ class NewUserMetadataViewModel : ViewModel() { // Load identities from kind 10011 first, fall back to kind 0 for backwards compat val identities = account.userMetadata.getExternalIdentitiesEvent()?.identityClaims() - ?: account.userProfile().metadataOrNull()?.flow?.value?.identities + ?: account + .userProfile() + .metadataOrNull() + ?.flow + ?.value + ?.identities ?: emptyList() identities.forEach { identity ->