From 2ba2675ae443c7a61e091684163d39c9d13160fe Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sat, 25 Feb 2023 19:54:46 +0100 Subject: [PATCH] Fix DM badge --- .../Sources/Notifications/NotificationRowView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/Notifications/Sources/Notifications/NotificationRowView.swift b/Packages/Notifications/Sources/Notifications/NotificationRowView.swift index 1c477df3..74668ab7 100644 --- a/Packages/Notifications/Sources/Notifications/NotificationRowView.swift +++ b/Packages/Notifications/Sources/Notifications/NotificationRowView.swift @@ -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)