Skip to content

Commit

Permalink
fix(ui_auth): fix LoadingIndicator layout on EmailVerificationScreen (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lesnitsky committed Jul 13, 2023
1 parent e2ad900 commit fd832fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class __EmailVerificationScreenContentState
),
const SizedBox(height: 32),
if (state == EmailVerificationState.pending)
const LoadingIndicator(size: 32, borderWidth: 2)
const Center(child: LoadingIndicator(size: 32, borderWidth: 2))
else if (state == EmailVerificationState.sent) ...[
LoadingButton(
isLoading: isLoading,
Expand All @@ -190,7 +190,7 @@ class __EmailVerificationScreenContentState
),
],
if (state == EmailVerificationState.sending)
const LoadingIndicator(size: 32, borderWidth: 2),
const Center(child: LoadingIndicator(size: 32, borderWidth: 2)),
if (state == EmailVerificationState.unverified) ...[
Text(
"We couldn't verify your email address. ",
Expand Down

0 comments on commit fd832fb

Please sign in to comment.