From d0b6f02b93d915fcbebf3eca68cafc8994ea2e98 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Tue, 26 Nov 2024 13:33:57 -0500 Subject: [PATCH] fix: don't show error on success --- .../lib/screen/at_onboarding_generate_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/at_onboarding_flutter/lib/screen/at_onboarding_generate_screen.dart b/packages/at_onboarding_flutter/lib/screen/at_onboarding_generate_screen.dart index 6f756282..cc7ef216 100644 --- a/packages/at_onboarding_flutter/lib/screen/at_onboarding_generate_screen.dart +++ b/packages/at_onboarding_flutter/lib/screen/at_onboarding_generate_screen.dart @@ -507,7 +507,7 @@ class _AtOnboardingGenerateScreenState await _showAlertDialog( AtOnboardingLocalizations.current.error_authenticated_failed, ); - } else { + } else if (authResponse != AtOnboardingResponseStatus.authSuccess) { await showErrorDialog( AtOnboardingLocalizations.current.msg_response_time_out, );