fix: some error managment and a whole feature missing

This commit is contained in:
Alzalia 2025-08-23 15:52:51 +02:00
parent dad000a1b9
commit 6bcc3a7e88
5 changed files with 192 additions and 140 deletions

View file

@ -6,11 +6,11 @@ class OwnerPopup extends StatefulWidget {
const OwnerPopup({
super.key,
required this.viewModel,
required this.onPressAccept,
required this.exitPopup,
});
final AddViewModel viewModel;
final Function(BuildContext) onPressAccept;
final Function(BuildContext) exitPopup;
@override
State<OwnerPopup> createState() => _OwnerPopupState();
@ -166,7 +166,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
});
}
}
widget.onPressAccept(context);
widget.exitPopup(context);
},
child: Text(
(!showNewOwner && searchController.text == "")