summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/Section/SettingsSectionDebugView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsSectionDebugView.swift')
-rw-r--r--Sora/Views/Settings/Section/SettingsSectionDebugView.swift3
1 files changed, 2 insertions, 1 deletions
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: {