begin cleanup of view_cams and begin of making it usable with exursion and place
time refactoring refactoring again
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import 'package:fforte/enums/databases.dart';
|
||||
import 'package:fforte/screens/helper/dialog_helper.dart';
|
||||
import 'package:fforte/screens/helper/add_entries_dialog_helper.dart';
|
||||
import 'package:fforte/screens/helper/snack_bar_helper.dart';
|
||||
import 'package:fforte/screens/addCam/exceptions/location_disabled_exception.dart';
|
||||
import 'package:fforte/screens/addCam/exceptions/location_forbidden_exception.dart';
|
||||
@@ -735,11 +735,11 @@ class _AddCamMainState extends State<AddCamMain> {
|
||||
bool empty = CheckRequired.checkRequired(rmap);
|
||||
|
||||
if (empty == true) {
|
||||
DialogHelper.showTemplateDialog(context, getFieldsText(),
|
||||
AddEntriesDialogHelper.showTemplateDialog(context, getFieldsText(),
|
||||
widget.existingData?.isNotEmpty ?? false);
|
||||
return;
|
||||
} else if (empty == false) {
|
||||
await DialogHelper.showSaveOptionsDialog(
|
||||
await AddEntriesDialogHelper.showSaveOptionsDialog(
|
||||
context, getFieldsText(), widget.isTemplate);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user