From 2474ba1713124c683007a8a10fa5ed212195eb8d Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 25 Mar 2026 13:53:06 -0400 Subject: [PATCH] Fixes anon accounts becoming empty bubbles in the notifiy section of new posts. --- .../amethyst/ui/note/creators/notify/Notifying.kt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/creators/notify/Notifying.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/creators/notify/Notifying.kt index d938d468d..91124f37d 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/creators/notify/Notifying.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/creators/notify/Notifying.kt @@ -87,12 +87,21 @@ private fun DisplayUserNameWithDeleteMark( accountViewModel: AccountViewModel, ) { val innerUserState by observeUserInfo(user, accountViewModel) - innerUserState?.let { meta -> + + val meta = innerUserState + + if (meta != null) { CreateTextWithEmoji( text = remember(meta) { "✖ ${meta.info.bestName() ?: user.pubkeyDisplayHex()}" }, tags = meta.tags, color = Color.White, textAlign = TextAlign.Center, ) + } else { + Text( + text = remember(meta) { "✖ ${user.pubkeyDisplayHex()}" }, + color = Color.White, + textAlign = TextAlign.Center, + ) } }