From b329115051eb8fef1e46bfdb9ed3f97aa0767718 Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Tue, 1 Oct 2024 22:49:16 -0700 Subject: [PATCH] chore: dart format --- .../amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart | 2 +- .../lib/src/l10n/generated/title_localizations_en.dart | 3 ++- .../lib/src/screens/authenticator_screen.dart | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/authenticator/amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart b/packages/authenticator/amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart index 6c97ccd96d..18f31ed3af 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart @@ -360,7 +360,7 @@ class StateMachineBloc _emit(UnauthenticatedState.continueSignInWithEmailMfaSetup); case AuthSignInStep.confirmSignInWithTotpMfaCode: _emit(UnauthenticatedState.confirmSignInWithTotpMfaCode); - case AuthSignInStep.confirmSignInWithEmailMfaCode: + case AuthSignInStep.confirmSignInWithEmailMfaCode: _notifyCodeSent(result.nextStep.codeDeliveryDetails?.destination); _emit(UnauthenticatedState.confirmSignInWithEmailMfaCode); case AuthSignInStep.resetPassword: diff --git a/packages/authenticator/amplify_authenticator/lib/src/l10n/generated/title_localizations_en.dart b/packages/authenticator/amplify_authenticator/lib/src/l10n/generated/title_localizations_en.dart index f547339bf5..692f579fa5 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/l10n/generated/title_localizations_en.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/l10n/generated/title_localizations_en.dart @@ -34,7 +34,8 @@ class AuthenticatorTitleLocalizationsEn String get confirmSignInWithEmailMfaCode => 'Enter your one-time passcode'; @override - String get continueSignInWithEmailMfaSetup => 'Add Email for Two-Factor Authentication'; + String get continueSignInWithEmailMfaSetup => + 'Add Email for Two-Factor Authentication'; @override String get continueSignInWithMfaSetupSelection => diff --git a/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart b/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart index e547dfd9f0..2eeebb2f8b 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart @@ -47,7 +47,9 @@ class AuthenticatorScreen extends StatelessAuthenticatorComponent { : this(key: key, step: AuthenticatorStep.continueSignInWithEmailMfaSetup); const AuthenticatorScreen.continueSignInWithMfaSetupSelection({Key? key}) - : this(key: key, step: AuthenticatorStep.continueSignInWithMfaSetupSelection); + : this( + key: key, + step: AuthenticatorStep.continueSignInWithMfaSetupSelection); const AuthenticatorScreen.resetPassword({Key? key}) : this(key: key, step: AuthenticatorStep.resetPassword);