summaryrefslogtreecommitdiff
path: root/Sora/Views
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-03-15 05:47:34 -0700
committerFuwn <[email protected]>2025-03-15 05:47:34 -0700
commit7bd2f2c539949d4d9f66c26a76a489726ed8bf40 (patch)
tree7cb3c7d29b498f4aa45bff70e48d5625137a0e40 /Sora/Views
parentfeat: Development commit (diff)
downloadsora-testing-7bd2f2c539949d4d9f66c26a76a489726ed8bf40.tar.xz
sora-testing-7bd2f2c539949d4d9f66c26a76a489726ed8bf40.zip
feat: Development commit
Diffstat (limited to 'Sora/Views')
-rw-r--r--Sora/Views/Post/Grid/PostGridView.swift8
1 files changed, 8 insertions, 0 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift
index 6d1d198..8665ba7 100644
--- a/Sora/Views/Post/Grid/PostGridView.swift
+++ b/Sora/Views/Post/Grid/PostGridView.swift
@@ -89,6 +89,14 @@ struct PostGridView: View {
ProgressView()
}
}
+
+ #if DEBUG
+ if manager.historyIndex < manager.searchHistory.count {
+ ToolbarItem {
+ Text("\(manager.historyIndex + 1)/\(manager.searchHistory.count)")
+ }
+ }
+ #endif
#endif
if !manager.tags.isEmpty {