diff options
Diffstat (limited to 'Sora/Data/Booru/BooruManager.swift')
| -rw-r--r-- | Sora/Data/Booru/BooruManager.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sora/Data/Booru/BooruManager.swift b/Sora/Data/Booru/BooruManager.swift index 49b1be3..9b674da 100644 --- a/Sora/Data/Booru/BooruManager.swift +++ b/Sora/Data/Booru/BooruManager.swift @@ -202,7 +202,7 @@ class BooruManager: ObservableObject { // swiftlint:disable:this type_body_leng await fetchPosts(page: currentPage, tags: tags) - if historyIndex >= 0 && historyIndex < searchHistory.count { + if historyIndex >= 0, historyIndex < searchHistory.count { var currentQuery = searchHistory[historyIndex] currentQuery.page = currentPage |