From 3f7e684796a6e6a8ca033fae681f7f83fcdd55d9 Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 18 Jan 2024 12:41:05 +0100 Subject: [PATCH] fix: notification card title layout (#85) Signed-off-by: Jan --- packages/app/components/InboxNotificationRowCard.tsx | 4 ++-- .../app/features/notifications/NotificationInboxScreen.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app/components/InboxNotificationRowCard.tsx b/packages/app/components/InboxNotificationRowCard.tsx index 4a188c27..dd067bbf 100644 --- a/packages/app/components/InboxNotificationRowCard.tsx +++ b/packages/app/components/InboxNotificationRowCard.tsx @@ -22,10 +22,10 @@ export default function InboxNotificationRowCard({ > - + {description} - + {title} diff --git a/packages/app/features/notifications/NotificationInboxScreen.tsx b/packages/app/features/notifications/NotificationInboxScreen.tsx index 060fe8e4..9bcf1960 100644 --- a/packages/app/features/notifications/NotificationInboxScreen.tsx +++ b/packages/app/features/notifications/NotificationInboxScreen.tsx @@ -17,7 +17,7 @@ export function NotificationInboxScreen() { {inboxNotifications.map((notification) => { - let description = ` ${ + let description = `${ notification.type === 'CredentialRecord' ? 'Credential offer' : 'Data request' }` if (notification.contactLabel) {