forked from eatvio/eatvio_app
fix: settings fields
This commit is contained in:
@@ -35,8 +35,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user