summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/Section/SettingsSearchView.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-03-15 20:49:53 -0700
committerFuwn <[email protected]>2025-03-15 20:49:53 -0700
commitc2df5dd7ad1fc665717f352d2094d17f0ca26c1b (patch)
treebfea18c3ac03308570b6e7b4a257348c0d84448e /Sora/Views/Settings/Section/SettingsSearchView.swift
parentfeat: Development commit (diff)
downloadsora-testing-c2df5dd7ad1fc665717f352d2094d17f0ca26c1b.tar.xz
sora-testing-c2df5dd7ad1fc665717f352d2094d17f0ca26c1b.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsSearchView.swift')
-rw-r--r--Sora/Views/Settings/Section/SettingsSearchView.swift8
1 files changed, 2 insertions, 6 deletions
diff --git a/Sora/Views/Settings/Section/SettingsSearchView.swift b/Sora/Views/Settings/Section/SettingsSearchView.swift
index fbe1656..062efad 100644
--- a/Sora/Views/Settings/Section/SettingsSearchView.swift
+++ b/Sora/Views/Settings/Section/SettingsSearchView.swift
@@ -21,15 +21,11 @@ struct SettingsSearchView: View {
) {
manager.clearCachedTags()
}
- #if os(macOS)
- .frame(maxWidth: .infinity, alignment: .trailing)
- #endif
+ .trailingFrame()
Button("Clear History") {
settings.searchHistory.removeAll()
}
- #if os(macOS)
- .frame(maxWidth: .infinity, alignment: .trailing)
- #endif
+ .trailingFrame()
}
}