From 7bd2f2c539949d4d9f66c26a76a489726ed8bf40 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 15 Mar 2025 05:47:34 -0700 Subject: feat: Development commit --- Sora/Views/Post/Grid/PostGridView.swift | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Sora/Views/Post') 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 { -- cgit v1.2.3