diff options
| author | Fuwn <[email protected]> | 2025-03-15 17:05:53 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-03-15 17:05:53 -0700 |
| commit | 67e63bd12a076da70a144071b9c0ee578ec691f4 (patch) | |
| tree | 8077ee8caadc9075412cf682ac57dd4634f903a6 /Sora/Views/Settings/Section/SettingsSettingsView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-67e63bd12a076da70a144071b9c0ee578ec691f4.tar.xz sora-testing-67e63bd12a076da70a144071b9c0ee578ec691f4.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsSettingsView.swift')
| -rw-r--r-- | Sora/Views/Settings/Section/SettingsSettingsView.swift | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Sora/Views/Settings/Section/SettingsSettingsView.swift b/Sora/Views/Settings/Section/SettingsSettingsView.swift new file mode 100644 index 0000000..92b1c32 --- /dev/null +++ b/Sora/Views/Settings/Section/SettingsSettingsView.swift @@ -0,0 +1,14 @@ +import SwiftUI + +struct SettingsSettingsView: View { + @EnvironmentObject var settings: SettingsManager + + var body: some View { + Button("Reset to Defaults") { + settings.resetToDefaults() + } + #if os(macOS) + .frame(maxWidth: .infinity, alignment: .trailing) + #endif + } +} |