mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 08:32:00 +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)
|
RoundedRectangle(cornerRadius: 5)
|
||||||
.fill(Color.gray.opacity(0.3))
|
.fill(Color.gray.opacity(0.3))
|
||||||
.frame(width: cellWidth, height: 20)
|
.frame(width: cellWidth - 10, height: 20)
|
||||||
.shimmering()
|
.shimmering()
|
||||||
.padding([.leading, .trailing], 4)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -39,9 +38,8 @@ struct SearchSkeletonCell: View {
|
||||||
|
|
||||||
RoundedRectangle(cornerRadius: 5)
|
RoundedRectangle(cornerRadius: 5)
|
||||||
.fill(Color.gray.opacity(0.3))
|
.fill(Color.gray.opacity(0.3))
|
||||||
.frame(width: cellWidth, height: 20)
|
.frame(width: cellWidth - 10, height: 20)
|
||||||
.shimmering()
|
.shimmering()
|
||||||
.padding([.leading, .trailing], 4)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -219,14 +219,14 @@ struct MediaInfoView: View {
|
||||||
.setProcessor(ImageUpscaler.lanczosProcessor(scale: 3, sharpeningIntensity: 1.5, sharpeningRadius: 0.8))
|
.setProcessor(ImageUpscaler.lanczosProcessor(scale: 3, sharpeningIntensity: 1.5, sharpeningRadius: 0.8))
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fill)
|
.aspectRatio(contentMode: .fill)
|
||||||
.frame(width: UIScreen.main.bounds.width, height: 600)
|
.frame(width: UIScreen.main.bounds.width, height: 700)
|
||||||
.clipped()
|
.clipped()
|
||||||
KFImage(URL(string: imageUrl))
|
KFImage(URL(string: imageUrl))
|
||||||
.placeholder { EmptyView() }
|
.placeholder { EmptyView() }
|
||||||
.setProcessor(ImageUpscaler.lanczosProcessor(scale: 3, sharpeningIntensity: 1.5, sharpeningRadius: 0.8))
|
.setProcessor(ImageUpscaler.lanczosProcessor(scale: 3, sharpeningIntensity: 1.5, sharpeningRadius: 0.8))
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fill)
|
.aspectRatio(contentMode: .fill)
|
||||||
.frame(width: UIScreen.main.bounds.width, height: 600)
|
.frame(width: UIScreen.main.bounds.width, height: 700)
|
||||||
.clipped()
|
.clipped()
|
||||||
.blur(radius: 30)
|
.blur(radius: 30)
|
||||||
.mask(
|
.mask(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue