too much?

This commit is contained in:
Francesco 2025-06-01 21:30:04 +02:00
parent 9237324fcf
commit a428b3311f
2 changed files with 4 additions and 6 deletions

View file

@ -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)
}
}
}

View file

@ -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(