Skip to content

Commit

Permalink
fix: spacing after social flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sahani-deriv committed Nov 17, 2023
1 parent 016f390 commit d782c86
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,15 @@ class _DerivLoginLayoutState extends State<DerivLoginLayout> {
label: context.localization.informLoginOptions,
isVisible: widget.isSocialAuthEnabled,
),
const SizedBox(height: ThemeProvider.margin24),
if (widget.isSocialAuthEnabled)
const SizedBox(height: ThemeProvider.margin24),
DerivSocialAuthPanel(
onSocialAuthButtonPressed:
widget.onSocialAuthButtonPressed,
isEnabled: widget.isSocialAuthEnabled,
isVisible: widget.isSocialAuthEnabled,
),
const SizedBox(height: ThemeProvider.margin24),
if (widget.isSocialAuthEnabled)
const SizedBox(height: ThemeProvider.margin24),
_buildFooterSection(),
],
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,16 @@ class _DerivSignupLayoutState extends State<DerivSignupLayout> {
label: context.localization.labelOrSignUpWith,
isVisible: widget.isSocialAuthEnabled,
),
const SizedBox(height: ThemeProvider.margin24),
if (widget.isSocialAuthEnabled)
const SizedBox(height: ThemeProvider.margin24),
DerivSocialAuthPanel(
isEnabled: !isReferralEnabled,
onSocialAuthButtonPressed:
widget.onSocialAuthButtonPressed,
isVisible: widget.isSocialAuthEnabled,
),
const SizedBox(height: ThemeProvider.margin24),
if (widget.isSocialAuthEnabled)
const SizedBox(height: ThemeProvider.margin24),
_buildFooterSection(),
],
),
Expand Down

0 comments on commit d782c86

Please sign in to comment.