From ab410956419067fd1e751f82a8f4e25bd1d6d091 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 22 Feb 2025 00:14:29 -0800 Subject: feat: Development commit --- Sora/Views/Post/PostGridView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sora/Views/Post/PostGridView.swift') 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 { -- cgit v1.2.3