add some new features
This commit is contained in:
@@ -5,6 +5,7 @@ import '../models/backup_model.dart';
|
||||
import '../services/backup_file_service.dart';
|
||||
import '../services/get_storage_services.dart';
|
||||
import 'home_controller.dart';
|
||||
import 'abfall_controller.dart';
|
||||
|
||||
class ExportController extends GetxController {
|
||||
ExportController({BackupFileService? fileService})
|
||||
@@ -76,6 +77,9 @@ class ExportController extends GetxController {
|
||||
home.loadMaterialien();
|
||||
home.resetForm();
|
||||
}
|
||||
if (Get.isRegistered<AbfallController>()) {
|
||||
Get.find<AbfallController>().loadAbfaelle();
|
||||
}
|
||||
pendingBackup.value = null;
|
||||
hasError.value = false;
|
||||
message.value = 'Alle Daten wurden importiert.';
|
||||
|
||||
Reference in New Issue
Block a user