diff options
| author | Fuwn <[email protected]> | 2025-03-15 20:49:53 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-03-15 20:49:53 -0700 |
| commit | c2df5dd7ad1fc665717f352d2094d17f0ca26c1b (patch) | |
| tree | bfea18c3ac03308570b6e7b4a257348c0d84448e /Sora/Views/Settings/Section/SettingsSearchView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-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.swift | 8 |
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() } } |