diff options
| author | Fuwn <[email protected]> | 2025-07-02 04:04:53 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-07-02 04:04:53 -0700 |
| commit | dc6695672f85a137c7b98d5b091ec410750e06b2 (patch) | |
| tree | 8928680102c6fb8af98ab8010409bfd13d1c2815 /Sora/Views/Settings/Section | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-dc6695672f85a137c7b98d5b091ec410750e06b2.tar.xz sora-testing-dc6695672f85a137c7b98d5b091ec410750e06b2.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section')
| -rw-r--r-- | Sora/Views/Settings/Section/SettingsSearchView.swift | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Sora/Views/Settings/Section/SettingsSearchView.swift b/Sora/Views/Settings/Section/SettingsSearchView.swift index 062efad..34b123b 100644 --- a/Sora/Views/Settings/Section/SettingsSearchView.swift +++ b/Sora/Views/Settings/Section/SettingsSearchView.swift @@ -3,12 +3,6 @@ import SwiftUI struct SettingsSearchView: View { @EnvironmentObject var settings: SettingsManager - #if os(macOS) - var manager = BooruManager(.yandere) - #else - @EnvironmentObject var manager: BooruManager - #endif - var body: some View { Picker("Suggestion Mode", selection: $settings.searchSuggestionsMode) { ForEach(SettingsSearchSuggestionsMode.allCases, id: \.self) { type in @@ -16,13 +10,6 @@ struct SettingsSearchView: View { } } - Button( - "Clear Cached Tags (\(manager.cacheSize ?? "Unknown size"))" - ) { - manager.clearCachedTags() - } - .trailingFrame() - Button("Clear History") { settings.searchHistory.removeAll() } |