Skip to content

Commit

Permalink
fix(deriv_passkeys): fix passkeys success button styles (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
emad-deriv authored Jun 26, 2024
1 parent fa17c40 commit d1fb859
Showing 1 changed file with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,25 @@ class PasskeysCreatedCallToAction extends StatelessWidget {
@override
Widget build(BuildContext context) => Padding(
padding: const EdgeInsets.all(16),
child: Row(
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: <Widget>[
Expanded(
child: SecondaryButton(
onPressed: () => addMorePasskeysNavigationCallback(context),
child: Text(
context.derivPasskeysLocalizations.addMorePasskeysButtonText,
style: TextStyle(
color: context.theme.colors.prominent,
),
SecondaryButton(
onPressed: () => addMorePasskeysNavigationCallback(context),
child: Text(
context.derivPasskeysLocalizations.addMorePasskeysButtonText,
style: TextStyle(
color: context.theme.colors.prominent,
),
),
),
const SizedBox(width: 16),
Expanded(
child: PrimaryButton(
onPressed: () => continueTradingNavigationCallback(context),
child: Text(
context.derivPasskeysLocalizations.continueTradingButtonText,
style: TextStyle(
color: context.theme.colors.prominent,
),
PrimaryButton(
onPressed: () => continueTradingNavigationCallback(context),
child: Text(
context.derivPasskeysLocalizations.continueTradingButtonText,
style: TextStyle(
color: context.theme.colors.prominent,
),
),
),
Expand Down

0 comments on commit d1fb859

Please sign in to comment.