From 25519b546831d0b4b1e0f3a0741584f0b5c2d0f8 Mon Sep 17 00:00:00 2001 From: Marcin Czachurski Date: Tue, 18 Apr 2023 12:42:48 +0200 Subject: [PATCH] #41 Fix issue with squished images on notifications --- .../Views/NotificationsView/Subviews/NotificationRowView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Vernissage/Views/NotificationsView/Subviews/NotificationRowView.swift b/Vernissage/Views/NotificationsView/Subviews/NotificationRowView.swift index d9ed5f4..ce6423c 100644 --- a/Vernissage/Views/NotificationsView/Subviews/NotificationRowView.swift +++ b/Vernissage/Views/NotificationsView/Subviews/NotificationRowView.swift @@ -76,6 +76,7 @@ struct NotificationRowView: View { if let cachedImage = self.image { cachedImage .resizable() + .aspectRatio(contentMode: .fill) .frame(width: 50, height: 50) .clipShape(RoundedRectangle(cornerRadius: 8)) } else {