mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-13 04:50:41 +00:00
too much?
This commit is contained in:
parent
9237324fcf
commit
a428b3311f
2 changed files with 4 additions and 6 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue