diff options
author | Shav Kinderlehrer <[email protected]> | 2023-12-27 08:25:35 -0500 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-12-27 08:25:35 -0500 |
commit | 7aa602f19dec3cf526c4550c5e63a8fc6dfac723 (patch) | |
tree | a4ee5ed0a5e8b9a40ad0ef5e98b1e65b8fd207cb /Jel/Views/Dashboard | |
parent | bd0b6ff491b33088a4db55c495b8aab797f0b22a (diff) | |
download | jel-7aa602f19dec3cf526c4550c5e63a8fc6dfac723.tar.gz jel-7aa602f19dec3cf526c4550c5e63a8fc6dfac723.zip |
Implement auto aspect ratio for LibraryIconViews
Diffstat (limited to 'Jel/Views/Dashboard')
-rw-r--r-- | Jel/Views/Dashboard/DashboardLibraryView.swift | 1 |
1 files changed, 1 insertions, 0 deletions
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()) |