summaryrefslogtreecommitdiff
path: root/Sora/Views/Post/Grid/PostGridView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Post/Grid/PostGridView.swift')
-rw-r--r--Sora/Views/Post/Grid/PostGridView.swift3
1 files changed, 0 insertions, 3 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift
index a942a93..0eeb893 100644
--- a/Sora/Views/Post/Grid/PostGridView.swift
+++ b/Sora/Views/Post/Grid/PostGridView.swift
@@ -177,9 +177,6 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length
}
.navigationDestination(for: BooruPost.self) { post in
PostDetailsView(post: post)
- .onDisappear {
- updateViewState(for: queryID, scrollPosition: scrollPosition.wrappedValue)
- }
}
.onChange(of: isSearchablePresented) { _, isPresented in
if !isPresented, manager.searchText.isEmpty, !manager.isNavigatingHistory {