Adjust loading indicator

This commit is contained in:
Hillel Coren 2021-10-11 15:33:27 +03:00
parent b88c754895
commit cd4931ee6b
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class ExpenseEditVM extends AbstractExpenseEditVM {
AppState state,
ExpenseEntity expense,
Function(ExpenseEntity) onChanged,
Function(BuildContext) onSavePressed,
Function(BuildContext, [EntityAction]) onSavePressed,
Function(BuildContext) onCancelPressed,
bool isLoading,
bool isSaving,
@ -130,7 +130,7 @@ class ExpenseEditVM extends AbstractExpenseEditVM {
store.dispatch(UpdateCurrentRoute(ExpenseEditScreen.route));
});
},
onSavePressed: (BuildContext context) {
onSavePressed: (BuildContext context, [EntityAction action]) {
Debouncer.runOnComplete(() {
final expense = store.state.expenseUIState.editing;
final localization = navigatorKey.localization;