Notifications: UI Fix

This commit is contained in:
Thomas Ricouard 2023-01-12 18:17:03 +01:00
parent c653fb79b6
commit 1a004400c4

View file

@ -55,14 +55,19 @@ struct NotificationRowView: View {
.append { .append {
Text(" ") + Text(" ") +
Text(type.label()) Text(type.label())
.font(.subheadline) + .font(.subheadline)
.fontWeight(.regular) +
Text("") Text("")
.font(.footnote) .font(.footnote)
.fontWeight(.regular)
.foregroundColor(.gray) + .foregroundColor(.gray) +
Text(notification.createdAt.formatted) Text(notification.createdAt.formatted)
.font(.footnote) .font(.footnote)
.fontWeight(.regular)
.foregroundColor(.gray) .foregroundColor(.gray)
} }
.font(.subheadline)
.fontWeight(.semibold)
Spacer() Spacer()
} }
} }