summaryrefslogtreecommitdiff
path: root/Sora/Views/Post
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-08-28 15:39:59 -0700
committerFuwn <[email protected]>2025-08-28 15:39:59 -0700
commitadd606fb0555a9a73f624e15e5fd916a49469ab8 (patch)
tree27ff8daf5e3fee1a97970ca9bc70f26ab690c570 /Sora/Views/Post
parentfeat: Development commit (diff)
downloadsora-testing-add606fb0555a9a73f624e15e5fd916a49469ab8.tar.xz
sora-testing-add606fb0555a9a73f624e15e5fd916a49469ab8.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/Post')
-rw-r--r--Sora/Views/Post/Grid/PostGridView.swift8
1 files changed, 6 insertions, 2 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift
index 4205309..4fd5ffb 100644
--- a/Sora/Views/Post/Grid/PostGridView.swift
+++ b/Sora/Views/Post/Grid/PostGridView.swift
@@ -133,8 +133,12 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length
private func getColumnsData(columnCount: Int) -> [[BooruPost]] {
if let cached = cachedColumnsData,
- cached.columnCount == columnCount,
- cached.posts == activePosts
+ cached
+ == ColumnsDataCache(
+ data: cached.data,
+ columnCount: columnCount,
+ posts: activePosts
+ )
{
return cached.data
}