fix: some error managment and a whole feature missing
This commit is contained in:
parent
dad000a1b9
commit
6bcc3a7e88
5 changed files with 192 additions and 140 deletions
|
|
@ -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 == "")
|
||||
|
|
|
|||
Reference in a new issue