summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/Section/SettingsSearchView.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-03-12 03:09:49 -0700
committerFuwn <[email protected]>2025-03-12 03:09:49 -0700
commitcad9a1b33169e151b8622ae8b65fc44b2748bb96 (patch)
treec5ce067e2ccc55a94012ebe3882a142d777e2dca /Sora/Views/Settings/Section/SettingsSearchView.swift
parentfeat: Development commit (diff)
downloadsora-testing-cad9a1b33169e151b8622ae8b65fc44b2748bb96.tar.xz
sora-testing-cad9a1b33169e151b8622ae8b65fc44b2748bb96.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsSearchView.swift')
-rw-r--r--Sora/Views/Settings/Section/SettingsSearchView.swift26
1 files changed, 13 insertions, 13 deletions
diff --git a/Sora/Views/Settings/Section/SettingsSearchView.swift b/Sora/Views/Settings/Section/SettingsSearchView.swift
index 3408d06..8aff106 100644
--- a/Sora/Views/Settings/Section/SettingsSearchView.swift
+++ b/Sora/Views/Settings/Section/SettingsSearchView.swift
@@ -3,11 +3,11 @@ import SwiftUI
struct SettingsSearchView: View {
@EnvironmentObject var settings: SettingsManager
-// #if os(macOS)
-// var manager = BooruManager(.yandere)
-// #else
-// @EnvironmentObject var manager: BooruManager
-// #endif
+ // #if os(macOS)
+ // var manager = BooruManager(.yandere)
+ // #else
+ // @EnvironmentObject var manager: BooruManager
+ // #endif
var body: some View {
Picker("Suggestion Mode", selection: $settings.searchSuggestionsMode) {
@@ -17,14 +17,14 @@ struct SettingsSearchView: View {
}
// TODO: Fix for iOS
-// Button(
-// "Clear Cached Tags (\(manager.cacheSize ?? "Unknown size"))"
-// ) {
-// manager.clearCachedTags()
-// }
-// #if os(macOS)
-// .frame(maxWidth: .infinity, alignment: .trailing)
-// #endif
+ // Button(
+ // "Clear Cached Tags (\(manager.cacheSize ?? "Unknown size"))"
+ // ) {
+ // manager.clearCachedTags()
+ // }
+ // #if os(macOS)
+ // .frame(maxWidth: .infinity, alignment: .trailing)
+ // #endif
Button("Clear History") {
settings.searchHistory.removeAll()