diff --git a/lib/features/settings/presentation/pages/settings_screen.dart b/lib/features/settings/presentation/pages/settings_screen.dart index 9c1e7b34..dee57f62 100644 --- a/lib/features/settings/presentation/pages/settings_screen.dart +++ b/lib/features/settings/presentation/pages/settings_screen.dart @@ -35,8 +35,8 @@ class _SettingsScreenState extends State { if (state is SettingsStateLoaded) { updatesNotificationsSwitchState = state.profileSettings.newUpdatesNotifications == 1 ? true : false; fillDiaryNotificationsSwitchState = state.profileSettings.diaryReminderNotifications == 1 ? true : false; - bedTimeSwitchState = state.profileSettings.isBedtimeFillable == 1 ? true : false; - moodSwitchState = state.profileSettings.isMoodFillable == 1 ? true : false; + bedTimeSwitchState = state.profileSettings.isBedtimeFillable; + moodSwitchState = state.profileSettings.isMoodFillable; } }, builder: (BuildContext context, SettingsState state) {