Skip to content

Commit

Permalink
Merge pull request #476 from RCGV1/main
Browse files Browse the repository at this point in the history
Fixed the message screen
  • Loading branch information
rcarteraz authored Jan 29, 2025
2 parents 07d5ad6 + 1b82dd2 commit 12d8165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Messaging/TextMessageBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ const getAcknowledgementText = (
message: app_device_ChannelMessageWithState,
): { text: string; isError: boolean } => {
if (message.state === "acknowledged") {
return { text: i18next.t("messaging.transmitting"), isError: false };
return { text: i18next.t("messaging.acknowledged"), isError: false };
}

if (message.state === "pending") {
return { text: i18next.t("messaging.acknowledged"), isError: false };
return { text: i18next.t("messaging.transmitting"), isError: false };
}

return { text: message.state.error, isError: true };
Expand Down

0 comments on commit 12d8165

Please sign in to comment.