Settings
This commit is contained in:
parent
87408e6d24
commit
3c57ef63d2
|
|
@ -33,14 +33,10 @@ import 'package:invoiceninja_flutter/redux/project/project_reducer.dart';
|
||||||
import 'package:invoiceninja_flutter/redux/quote/quote_reducer.dart';
|
import 'package:invoiceninja_flutter/redux/quote/quote_reducer.dart';
|
||||||
import 'package:invoiceninja_flutter/redux/task/task_reducer.dart';
|
import 'package:invoiceninja_flutter/redux/task/task_reducer.dart';
|
||||||
import 'package:invoiceninja_flutter/redux/vendor/vendor_reducer.dart';
|
import 'package:invoiceninja_flutter/redux/vendor/vendor_reducer.dart';
|
||||||
|
|
||||||
// STARTER: import - do not remove comment
|
// STARTER: import - do not remove comment
|
||||||
import 'package:invoiceninja_flutter/redux/user/user_reducer.dart';
|
import 'package:invoiceninja_flutter/redux/user/user_reducer.dart';
|
||||||
|
|
||||||
import 'package:invoiceninja_flutter/redux/tax_rate/tax_rate_reducer.dart';
|
import 'package:invoiceninja_flutter/redux/tax_rate/tax_rate_reducer.dart';
|
||||||
|
|
||||||
import 'package:invoiceninja_flutter/redux/company_gateway/company_gateway_reducer.dart';
|
import 'package:invoiceninja_flutter/redux/company_gateway/company_gateway_reducer.dart';
|
||||||
|
|
||||||
import 'package:invoiceninja_flutter/redux/group/group_reducer.dart';
|
import 'package:invoiceninja_flutter/redux/group/group_reducer.dart';
|
||||||
|
|
||||||
UIState uiReducer(UIState state, dynamic action) {
|
UIState uiReducer(UIState state, dynamic action) {
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ class GroupEditVM {
|
||||||
Navigator.of(context).pop(savedGroup);
|
Navigator.of(context).pop(savedGroup);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
viewEntity(context: context, entity: group, force: true);
|
viewEntity(context: context, entity: savedGroup, force: true);
|
||||||
}
|
}
|
||||||
}).catchError((Object error) {
|
}).catchError((Object error) {
|
||||||
showDialog<ErrorDialog>(
|
showDialog<ErrorDialog>(
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ class ProjectEditVM {
|
||||||
Navigator.of(context).pop(savedProject);
|
Navigator.of(context).pop(savedProject);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
viewEntity(context: context, entity: savedProject);
|
viewEntity(context: context, entity: savedProject, force: true);
|
||||||
}
|
}
|
||||||
}).catchError((Object error) {
|
}).catchError((Object error) {
|
||||||
showDialog<ErrorDialog>(
|
showDialog<ErrorDialog>(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue