diff options
| author | Fuwn <[email protected]> | 2025-06-16 03:49:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-16 03:49:07 -0700 |
| commit | 66e102a8d8cecad28638f51a004e1d73798e841f (patch) | |
| tree | 972a86a640f4c9cb5ad03aef0bb26d00c1ad1000 /Sora/Views/Post/Grid | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-66e102a8d8cecad28638f51a004e1d73798e841f.tar.xz sora-testing-66e102a8d8cecad28638f51a004e1d73798e841f.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Post/Grid')
| -rw-r--r-- | Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift b/Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift index 7a101ad..55f1fa9 100644 --- a/Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift +++ b/Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift @@ -1,10 +1,14 @@ +import SkeletonUI import SwiftUI struct PostGridThumbnailPlaceholderView: View { var body: some View { RoundedRectangle(cornerRadius: 8) - .fill(Color(.systemGray5)) + .skeleton(with: true, shape: .rounded(RoundedType.radius(8))) .aspectRatio(1, contentMode: .fit) - .redacted(reason: .placeholder) } } + +#Preview { + PostGridThumbnailPlaceholderView() +} |