Fix DM badge

This commit is contained in:
Thomas Ricouard 2023-02-25 19:54:46 +01:00
parent 93ee83c65d
commit 2ba2675ae4
1 changed files with 2 additions and 2 deletions

View File

@ -55,10 +55,10 @@ struct NotificationRowView: View {
ZStack(alignment: .center) {
Circle()
.strokeBorder(Color.white, lineWidth: 1)
.background(Circle().foregroundColor(type.tintColor(isPrivate: notification.status?.visibility == .priv)))
.background(Circle().foregroundColor(type.tintColor(isPrivate: notification.status?.visibility == .direct)))
.frame(width: 24, height: 24)
Image(systemName: type.iconName(isPrivate: notification.status?.visibility == .priv))
Image(systemName: type.iconName(isPrivate: notification.status?.visibility == .direct))
.resizable()
.scaledToFit()
.frame(width: 12, height: 12)