From 8099bc3c1615785229a805771b0de5344d2831b1 Mon Sep 17 00:00:00 2001 From: brenno-silva Date: Thu, 6 May 2021 18:36:13 -0300 Subject: [PATCH] #194 Corrigindo if da responseMsg --- hortum_mobile/lib/views/profile/services/profile_services.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hortum_mobile/lib/views/profile/services/profile_services.dart b/hortum_mobile/lib/views/profile/services/profile_services.dart index f4403c09..f6cc1d2b 100644 --- a/hortum_mobile/lib/views/profile/services/profile_services.dart +++ b/hortum_mobile/lib/views/profile/services/profile_services.dart @@ -78,7 +78,7 @@ String announErrorFormart(String responseMsg) { if (responseMsg == ("{phone_number: [user with this phone number already exists.]}")) return 'Telefone já cadastrado!'; - else if (responseMsg == ("{email: [user with this email already exists.]}")) + else if (responseMsg == ("{email: [Email ja registrado!]}")) return 'Email já cadastrado!'; else return 'Email e telefone já cadastrados!';