Expenses
This commit is contained in:
parent
d82f43899e
commit
c7191bf202
|
|
@ -41,7 +41,10 @@ Middleware<AppState> _editVendor() {
|
||||||
return (Store<AppState> store, dynamic action, NextDispatcher next) async {
|
return (Store<AppState> store, dynamic action, NextDispatcher next) async {
|
||||||
next(action);
|
next(action);
|
||||||
|
|
||||||
|
if (action.trackRoute) {
|
||||||
store.dispatch(UpdateCurrentRoute(VendorEditScreen.route));
|
store.dispatch(UpdateCurrentRoute(VendorEditScreen.route));
|
||||||
|
}
|
||||||
|
|
||||||
final vendor =
|
final vendor =
|
||||||
await Navigator.of(action.context).pushNamed(VendorEditScreen.route);
|
await Navigator.of(action.context).pushNamed(VendorEditScreen.route);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue