From ddaa9cbfe0cc8d254d4901ad192918d91dd627d4 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 1 Apr 2026 13:59:52 +0000 Subject: Migrate settings manager to Swift Observation --- Sora/Views/Settings/Section/SettingsSectionDebugView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Sora/Views/Settings/Section/SettingsSectionDebugView.swift') diff --git a/Sora/Views/Settings/Section/SettingsSectionDebugView.swift b/Sora/Views/Settings/Section/SettingsSectionDebugView.swift index 83acb81..c97b545 100644 --- a/Sora/Views/Settings/Section/SettingsSectionDebugView.swift +++ b/Sora/Views/Settings/Section/SettingsSectionDebugView.swift @@ -1,7 +1,8 @@ import SwiftUI struct SettingsSectionDebugView: View { - @EnvironmentObject private var settingsManager: SettingsManager + @Environment(SettingsManager.self) + private var settingsManager var body: some View { Button(action: { -- cgit v1.2.3