mirror of
https://codeberg.org/secana/Forji.git
synced 2026-06-16 05:13:55 -07:00
fix: apply the compact row layout to merged notifications too
This commit is contained in:
parent
531bf59e89
commit
f553f0d900
1 changed files with 11 additions and 8 deletions
|
|
@ -278,13 +278,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()
|
||||
|
|
@ -293,7 +297,6 @@ private struct MergedNotificationRow: View {
|
|||
Circle()
|
||||
.fill(.blue)
|
||||
.frame(width: 10, height: 10)
|
||||
.glassEffect(.regular.tint(.blue))
|
||||
.padding(.top, 6)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue