diff options
Diffstat (limited to 'Hutch')
| -rw-r--r-- | Hutch/Views/Settings/SettingsView.swift | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Hutch/Views/Settings/SettingsView.swift b/Hutch/Views/Settings/SettingsView.swift index a249807..4fb3f9c 100644 --- a/Hutch/Views/Settings/SettingsView.swift +++ b/Hutch/Views/Settings/SettingsView.swift @@ -49,6 +49,9 @@ struct SettingsView: View { Section { Toggle("Swipe actions", isOn: $swipeActionsEnabled) Toggle("Contribution graphs", isOn: $contributionGraphsEnabled) + .onChange(of: contributionGraphsEnabled) { _, newValue in + ContributionWidgetContextStore.setEnabled(newValue) + } } header: { Text("Behavior") } footer: { |
