summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/Section/SettingsDebugView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsDebugView.swift')
-rw-r--r--Sora/Views/Settings/Section/SettingsDebugView.swift8
1 files changed, 2 insertions, 6 deletions
diff --git a/Sora/Views/Settings/Section/SettingsDebugView.swift b/Sora/Views/Settings/Section/SettingsDebugView.swift
index 368676b..ef817a3 100644
--- a/Sora/Views/Settings/Section/SettingsDebugView.swift
+++ b/Sora/Views/Settings/Section/SettingsDebugView.swift
@@ -11,9 +11,7 @@ struct SettingsDebugView: View {
}) {
Text("Add Dummy Bookmarks")
}
- #if os(macOS)
- .frame(maxWidth: .infinity, alignment: .trailing)
- #endif
+ .trailingFrame()
Button(action: {
#if DEBUG
@@ -22,8 +20,6 @@ struct SettingsDebugView: View {
}) {
Text("Add Dummy Search History")
}
- #if os(macOS)
- .frame(maxWidth: .infinity, alignment: .trailing)
- #endif
+ .trailingFrame()
}
}