Settings
This commit is contained in:
parent
5a5c08f6e7
commit
f79c5a3b69
|
|
@ -27,10 +27,15 @@ class SettingsListVM {
|
|||
});
|
||||
|
||||
static SettingsListVM fromStore(Store<AppState> store) {
|
||||
final state = store.state;
|
||||
|
||||
return SettingsListVM(
|
||||
state: store.state,
|
||||
state: state,
|
||||
loadSection: (context, section) {
|
||||
store.dispatch(ViewSettings(context: context, section: section));
|
||||
store.dispatch(ViewSettings(
|
||||
context: context,
|
||||
section: section,
|
||||
userCompany: state.userCompany));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue