summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/Section/SettingsSearchView.swift
diff options
context:
space:
mode:
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()
}
}