From 3fc0f8df164ae6cd1e247e572897a05a724d847c Mon Sep 17 00:00:00 2001 From: Alzalia Date: Fri, 8 Aug 2025 19:46:31 +0200 Subject: [PATCH] fix: small text change --- lib/ui/add_page/widgets/owner_popup.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ui/add_page/widgets/owner_popup.dart b/lib/ui/add_page/widgets/owner_popup.dart index 15111b3..4cd4184 100644 --- a/lib/ui/add_page/widgets/owner_popup.dart +++ b/lib/ui/add_page/widgets/owner_popup.dart @@ -162,7 +162,11 @@ class _OwnerPopupState extends State { } widget.onPressAccept(context); }, - child: Text("Valider"), + child: Text( + (!showNewOwner && searchController.text == "") + ? "Annuler" + : "Valider", + ), ), ], ),