From 823b02ade6d3acc7f9eede4e734d5b7ac70adc29 Mon Sep 17 00:00:00 2001 From: jantunesmesias Date: Fri, 2 Aug 2024 13:58:05 -0300 Subject: [PATCH] WIP --- .../regisiter_vistor_template_component_widget.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/templates_components/regisiter_vistor_template_component/regisiter_vistor_template_component_widget.dart b/lib/components/templates_components/regisiter_vistor_template_component/regisiter_vistor_template_component_widget.dart index 5ea36575..3440eb7b 100644 --- a/lib/components/templates_components/regisiter_vistor_template_component/regisiter_vistor_template_component_widget.dart +++ b/lib/components/templates_components/regisiter_vistor_template_component/regisiter_vistor_template_component_widget.dart @@ -247,12 +247,12 @@ class _RegisiterVistorTemplateComponentWidgetState } else if (snapshot.hasError || snapshot.data == null || snapshot.data == '') { - safeSetState(() => _isVisitorRegistered = false); + // safeSetState(() => _isVisitorRegistered = false); _isVisitorRegistered = false; visitorAlreadyRegistered.add(true); return const SizedBox(); } else { - safeSetState(() => _isVisitorRegistered = true); + _isVisitorRegistered = true; visitorAlreadyRegistered.add(false); return _model.textController2.text.isEmpty ? const SizedBox()