From a428b3311f9e40126dcd96e32608c7d14ef7e842 Mon Sep 17 00:00:00 2001 From: Francesco <100066266+cranci1@users.noreply.github.com> Date: Sun, 1 Jun 2025 21:30:04 +0200 Subject: [PATCH] too much? --- Sora/Utils/SkeletonCells/SkeletonCell.swift | 6 ++---- Sora/Views/MediaInfoView/MediaInfoView.swift | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Sora/Utils/SkeletonCells/SkeletonCell.swift b/Sora/Utils/SkeletonCells/SkeletonCell.swift index c35c6b4..799356e 100644 --- a/Sora/Utils/SkeletonCells/SkeletonCell.swift +++ b/Sora/Utils/SkeletonCells/SkeletonCell.swift @@ -20,9 +20,8 @@ struct HomeSkeletonCell: View { RoundedRectangle(cornerRadius: 5) .fill(Color.gray.opacity(0.3)) - .frame(width: cellWidth, height: 20) + .frame(width: cellWidth - 10, height: 20) .shimmering() - .padding([.leading, .trailing], 4) } } } @@ -39,9 +38,8 @@ struct SearchSkeletonCell: View { RoundedRectangle(cornerRadius: 5) .fill(Color.gray.opacity(0.3)) - .frame(width: cellWidth, height: 20) + .frame(width: cellWidth - 10, height: 20) .shimmering() - .padding([.leading, .trailing], 4) } } } diff --git a/Sora/Views/MediaInfoView/MediaInfoView.swift b/Sora/Views/MediaInfoView/MediaInfoView.swift index b1c626d..ba7b52b 100644 --- a/Sora/Views/MediaInfoView/MediaInfoView.swift +++ b/Sora/Views/MediaInfoView/MediaInfoView.swift @@ -219,14 +219,14 @@ struct MediaInfoView: View { .setProcessor(ImageUpscaler.lanczosProcessor(scale: 3, sharpeningIntensity: 1.5, sharpeningRadius: 0.8)) .resizable() .aspectRatio(contentMode: .fill) - .frame(width: UIScreen.main.bounds.width, height: 600) + .frame(width: UIScreen.main.bounds.width, height: 700) .clipped() KFImage(URL(string: imageUrl)) .placeholder { EmptyView() } .setProcessor(ImageUpscaler.lanczosProcessor(scale: 3, sharpeningIntensity: 1.5, sharpeningRadius: 0.8)) .resizable() .aspectRatio(contentMode: .fill) - .frame(width: UIScreen.main.bounds.width, height: 600) + .frame(width: UIScreen.main.bounds.width, height: 700) .clipped() .blur(radius: 30) .mask(