From 90109c90954ab3cf6416a2ee1e84c879ffe3012e Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 29 May 2026 08:40:31 -0400 Subject: [PATCH] Removes the need of idHex on the BlankNote --- .../main/java/com/vitorpamplona/amethyst/ui/note/BlankNote.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/BlankNote.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/BlankNote.kt index d350ee09f6..a10c6225e9 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/BlankNote.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/BlankNote.kt @@ -59,7 +59,6 @@ fun BlankNotePreview() { @Composable fun BlankNote( modifier: Modifier = Modifier, - idHex: String? = null, shortPreview: Boolean = false, ) { Column(modifier = modifier) { @@ -81,7 +80,7 @@ fun BlankNote( if (shortPreview) { stringRes(R.string.post_not_found_short) } else { - stringRes(R.string.post_not_found) + if (idHex != null) ": $idHex" else "" + stringRes(R.string.post_not_found) }, modifier = Modifier.padding(30.dp), color = Color.Gray,