From 7aa602f19dec3cf526c4550c5e63a8fc6dfac723 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Wed, 27 Dec 2023 08:25:35 -0500 Subject: Implement auto aspect ratio for LibraryIconViews --- Jel/Views/Dashboard/DashboardLibraryView.swift | 1 + 1 file changed, 1 insertion(+) (limited to 'Jel/Views/Dashboard') diff --git a/Jel/Views/Dashboard/DashboardLibraryView.swift b/Jel/Views/Dashboard/DashboardLibraryView.swift index 57ffa50..4a68013 100644 --- a/Jel/Views/Dashboard/DashboardLibraryView.swift +++ b/Jel/Views/Dashboard/DashboardLibraryView.swift @@ -29,6 +29,7 @@ struct DashboardLibraryView: View { LibraryDetailView(library: library) } label: { LibraryIconView(library: library, height: 150) + .setAspectRatio(library.primaryImageAspectRatio) .padding() } .buttonStyle(PlainButtonStyle()) -- cgit v1.2.3