From 202ebbce11f1db78ca0197960bca56c6ec6099c8 Mon Sep 17 00:00:00 2001 From: Eric Park Date: Fri, 13 Oct 2023 15:54:56 -0400 Subject: [PATCH] Add padding to library item on both iOS and iPadOS --- Swiftfin/Components/PagingLibraryView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Swiftfin/Components/PagingLibraryView.swift b/Swiftfin/Components/PagingLibraryView.swift index 9ac8c7df6d..590b6b1f69 100644 --- a/Swiftfin/Components/PagingLibraryView.swift +++ b/Swiftfin/Components/PagingLibraryView.swift @@ -27,7 +27,7 @@ struct PagingLibraryView: View { if libraryGridPosterType == .landscape && UIDevice.isPhone { return .fixedNumberOfColumns(2) } else { - return .adaptive(withMinItemSize: libraryGridPosterType.width + (UIDevice.isIPad ? 10 : 0)) + return .adaptive(withMinItemSize: libraryGridPosterType.width + 10) } }