diff options
| author | Fuwn <[email protected]> | 2025-06-16 03:42:21 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-16 03:42:21 -0700 |
| commit | 55410c9e5c177944ed43cee67c4e865be858cfe6 (patch) | |
| tree | 85c070b63eb57f0b622b36c150c737e793c75b44 /Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-55410c9e5c177944ed43cee67c4e865be858cfe6.tar.xz sora-testing-55410c9e5c177944ed43cee67c4e865be858cfe6.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift')
| -rw-r--r-- | Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift b/Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift new file mode 100644 index 0000000..7a101ad --- /dev/null +++ b/Sora/Views/Post/Grid/PostGridThumbnailPlaceholderView.swift @@ -0,0 +1,10 @@ +import SwiftUI + +struct PostGridThumbnailPlaceholderView: View { + var body: some View { + RoundedRectangle(cornerRadius: 8) + .fill(Color(.systemGray5)) + .aspectRatio(1, contentMode: .fit) + .redacted(reason: .placeholder) + } +} |