fix: small text change
This commit is contained in:
parent
073f8bd334
commit
3fc0f8df16
1 changed files with 5 additions and 1 deletions
|
|
@ -162,7 +162,11 @@ class _OwnerPopupState extends State<OwnerPopup> {
|
||||||
}
|
}
|
||||||
widget.onPressAccept(context);
|
widget.onPressAccept(context);
|
||||||
},
|
},
|
||||||
child: Text("Valider"),
|
child: Text(
|
||||||
|
(!showNewOwner && searchController.text == "")
|
||||||
|
? "Annuler"
|
||||||
|
: "Valider",
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Reference in a new issue