summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Sora/Views/Post/Grid/PostGridView.swift10
1 files changed, 5 insertions, 5 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift
index b359e07..7027f1a 100644
--- a/Sora/Views/Post/Grid/PostGridView.swift
+++ b/Sora/Views/Post/Grid/PostGridView.swift
@@ -72,16 +72,16 @@ struct PostGridView: View {
}
#else
ToolbarItem(placement: .bottomBar) {
- Button(action: { Task { manager.loadNextPage() } }) {
- Label("Manually Load Next Page", systemImage: "arrow.triangle.2.circlepath")
+ Button(action: { Task { isSearchHistoryPresented.toggle() } }) {
+ Label("Search History", systemImage: "clock.arrow.circlepath")
}
- .disabled(manager.isLoading)
}
ToolbarItem(placement: .bottomBar) {
- Button(action: { Task { isSearchHistoryPresented.toggle() } }) {
- Label("Search History", systemImage: "clock.arrow.circlepath")
+ Button(action: { Task { manager.loadNextPage() } }) {
+ Label("Manually Load Next Page", systemImage: "arrow.triangle.2.circlepath")
}
+ .disabled(manager.isLoading)
}
if manager.isLoading {