This commit is contained in:
Vitor Pamplona
2023-04-20 10:07:10 -04:00
parent 00e5470642
commit b11b52b60c

View File

@@ -496,13 +496,13 @@ fun NoteComposeInner(
noteEvent.recipientPubKey() != loggedIn.pubkeyHex && noteEvent.recipientPubKey() != loggedIn.pubkeyHex &&
note.author !== loggedIn note.author !== loggedIn
) { ) {
val recepient = noteEvent.recipientPubKey()?.let { LocalCache.checkGetOrCreateUser(it) } val recipient = noteEvent.recipientPubKey()?.let { LocalCache.checkGetOrCreateUser(it) }
TranslatableRichTextViewer( TranslatableRichTextViewer(
stringResource( stringResource(
id = R.string.private_conversation_notification, id = R.string.private_conversation_notification,
"@${note.author?.pubkeyNpub()}", "@${note.author?.pubkeyNpub()}",
"@${recepient?.pubkeyNpub()}" "@${recipient?.pubkeyNpub()}"
), ),
canPreview = !makeItShort, canPreview = !makeItShort,
Modifier.fillMaxWidth(), Modifier.fillMaxWidth(),