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.swift7
1 files changed, 6 insertions, 1 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift
index ac6aeaa..bfc2b1b 100644
--- a/Sora/Views/Post/Grid/PostGridView.swift
+++ b/Sora/Views/Post/Grid/PostGridView.swift
@@ -106,7 +106,12 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length
}
}
.animation(.easeInOut, value: manager.historyIndex)
- .searchable(text: $manager.searchText, isPresented: $isSearchablePresented, prompt: "Tags")
+ .searchable(
+ text: $manager.searchText,
+ isPresented: $isSearchablePresented,
+ placement: .navigationBarDrawer(displayMode: .automatic),
+ prompt: "Tags"
+ )
.searchSuggestions {
if settings.searchSuggestionsMode != .disabled {
SearchSuggestionsView(