Correct localization settings

This commit is contained in:
Hillel Coren 2021-10-12 23:24:52 +03:00
parent 835a68d4b1
commit 9507b31253
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ Reducer<SettingsUIState> settingsUIReducer = combineReducers([
..updatedAt = DateTime.now().millisecondsSinceEpoch
..company.replace(state.origCompany)
..entityType = EntityType.company
..isChanged = false);
..isChanged = false
..tabIndex = 0);
}),
TypedReducer<SettingsUIState, UpdateSettingsTab>((state, action) {
return state.rebuild((b) => b..tabIndex = action.tabIndex);