From b38e9247ce6a0e93b11eccf35fbe46ff4a0cd872 Mon Sep 17 00:00:00 2001 From: David Kaspar Date: Sun, 17 Aug 2025 23:02:25 +0100 Subject: [PATCH] Use pubkeyhex for lazy column key instead of Address --- .../vitorpamplona/amethyst/ui/note/UpdateReactionTypeDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateReactionTypeDialog.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateReactionTypeDialog.kt index 16060c726f..70fbd1221d 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateReactionTypeDialog.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateReactionTypeDialog.kt @@ -394,7 +394,7 @@ fun EmojiCollectionGallery( LazyColumn( state = listState, ) { - itemsIndexed(emojiCollections, key = { _, item -> item }) { _, item -> + itemsIndexed(emojiCollections, key = { _, item -> item.pubKeyHex }) { _, item -> LoadAddressableNote(item, accountViewModel) { it?.let { WatchAndRenderNote(it, bgColor, accountViewModel, nav, onClick) } }