Correct dashboard number fields per row on mobile

This commit is contained in:
Hillel Coren 2022-09-15 18:49:22 +03:00
parent e4b9cd1b89
commit aa21cd43bd
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ Reducer<UserCompanyEntity> userCompanyEntityReducer = combineReducers([
return userCompany.rebuild((b) => b
..settings.dashboardFieldsPerRowDesktop =
action.numberFieldsPerRowDesktop);
} else if (action.numberFieldsPerRowDesktop != null) {
} else if (action.numberFieldsPerRowMobile != null) {
return userCompany.rebuild((b) => b
..settings.dashboardFieldsPerRowMobile =
action.numberFieldsPerRowMobile);