diff options
| author | Fuwn <[email protected]> | 2025-02-22 00:14:29 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-22 00:14:29 -0800 |
| commit | ab410956419067fd1e751f82a8f4e25bd1d6d091 (patch) | |
| tree | a77bb1b10b6eaabd8b61c8144df7b68d2094dc08 /Sora/Views/Post/PostGridView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-ab410956419067fd1e751f82a8f4e25bd1d6d091.tar.xz sora-testing-ab410956419067fd1e751f82a8f4e25bd1d6d091.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Post/PostGridView.swift')
| -rw-r--r-- | Sora/Views/Post/PostGridView.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sora/Views/Post/PostGridView.swift b/Sora/Views/Post/PostGridView.swift index 842d0a6..ab2340f 100644 --- a/Sora/Views/Post/PostGridView.swift +++ b/Sora/Views/Post/PostGridView.swift @@ -9,7 +9,7 @@ struct PostGridView: View { var filteredPosts: [BooruPost] { (settings.showNSFWPosts ? manager.posts : manager.posts.filter { $0.rating == "s" || $0.rating == "q" }) - .sorted(by: { $0.id > $1.id }) + .sorted { $0.id > $1.id } } var body: some View { |