From 790689157f13eac497d6823fc373458fc63fcc6a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 20 Feb 2025 05:02:06 -0800 Subject: feat: Development commit --- Sora/Views/SettingsView.swift | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Sora/Views') diff --git a/Sora/Views/SettingsView.swift b/Sora/Views/SettingsView.swift index 668d31f..c658775 100644 --- a/Sora/Views/SettingsView.swift +++ b/Sora/Views/SettingsView.swift @@ -1,6 +1,8 @@ import SwiftUI struct SettingsView: View { + @EnvironmentObject var settings: Settings + var body: some View { Form { Section(header: Text("Thumbnails")) { @@ -15,6 +17,12 @@ struct SettingsView: View { SettingsSearchView() } + Section(header: Text("Settings")) { + Button("Reset to Defaults") { + self.settings.resetToDefaults() + } + } + Section(header: Text("Attributions")) { SettingsAttributionsView() } -- cgit v1.2.3