mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 16:57:39 +00:00
Removes the need of idHex on the BlankNote
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user