We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f941b1f commit 7924b1bCopy full SHA for 7924b1b
app/screens/nip17-chat/historyListItem.tsx
@@ -129,7 +129,7 @@ export const HistoryListItem: React.FC<HistoryListItemProps> = ({
129
(profileMap?.get(lastRumor.pubkey) as NostrProfile)?.username ||
130
nip19.npubEncode(lastRumor.pubkey).slice(0, 9) + "..."}
131
{": "}
132
- {lastRumor.content.slice(0, 55)}
+ {lastRumor.content.replace(/\s+/g, " ").slice(0, 55)}
133
{lastRumor.content.length > 45 ? "..." : ""}
134
</Text>
135
</View>
0 commit comments