diff --git a/Forji/Forji/Views/MergedNotificationsOverviewView.swift b/Forji/Forji/Views/MergedNotificationsOverviewView.swift index 76fbc88..3e4fdcd 100644 --- a/Forji/Forji/Views/MergedNotificationsOverviewView.swift +++ b/Forji/Forji/Views/MergedNotificationsOverviewView.swift @@ -267,13 +267,17 @@ private struct MergedNotificationRow: View { } } - Text(notification.repository.fullName) - .font(.caption) - .foregroundStyle(.secondary) - - Text(formatRelativeDate(notification.updatedAt)) - .font(.caption) - .foregroundStyle(.secondary) + HStack(spacing: 4) { + Text(notification.repository.fullName) + .lineLimit(1) + .truncationMode(.middle) + Text("·") + .foregroundStyle(.tertiary) + Text(formatRelativeDate(notification.updatedAt)) + .fixedSize() + } + .font(.caption) + .foregroundStyle(.secondary) } Spacer() @@ -282,7 +286,6 @@ private struct MergedNotificationRow: View { Circle() .fill(.blue) .frame(width: 10, height: 10) - .glassEffect(.regular.tint(.blue)) .padding(.top, 6) } } diff --git a/Forji/Forji/Views/NotificationsOverviewView.swift b/Forji/Forji/Views/NotificationsOverviewView.swift index 7a4e9ec..3539fa1 100644 --- a/Forji/Forji/Views/NotificationsOverviewView.swift +++ b/Forji/Forji/Views/NotificationsOverviewView.swift @@ -249,13 +249,17 @@ private struct NotificationRow: View { .font(.body) .lineLimit(2) - Text(notification.repository.fullName) - .font(.caption) - .foregroundStyle(.secondary) - - Text(formatRelativeDate(notification.updatedAt)) - .font(.caption) - .foregroundStyle(.secondary) + HStack(spacing: 4) { + Text(notification.repository.fullName) + .lineLimit(1) + .truncationMode(.middle) + Text("·") + .foregroundStyle(.tertiary) + Text(formatRelativeDate(notification.updatedAt)) + .fixedSize() + } + .font(.caption) + .foregroundStyle(.secondary) } Spacer() @@ -264,7 +268,6 @@ private struct NotificationRow: View { Circle() .fill(.blue) .frame(width: 10, height: 10) - .glassEffect(.regular.tint(.blue)) .padding(.top, 6) } }