diff --git a/lib/services/settings_service.dart b/lib/services/settings_service.dart index 13de7f6..8c7e7a7 100644 --- a/lib/services/settings_service.dart +++ b/lib/services/settings_service.dart @@ -52,7 +52,7 @@ Future loadSettingsFromLocalJSON() async { } void saveSettings(Settings settings) { - _setIntSetting('group', settings.group!); + _setIntSetting('group', settings.group); _setStringListSetting('relapse_categories', settings.relapseCategories!); _setStringListSetting('mood_query_days', settings.moodQuery!.days!); _setIntSetting('mood_query_hours', settings.moodQuery!.hours!);