Skip to content

Commit

Permalink
fix: use wrap instead of row
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Jan 27, 2025
1 parent 32542a6 commit 637eccd
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,17 @@ class _Error extends StatelessWidget {
textAlign: TextAlign.center,
),
const Spacer(),
Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
OutlinedButton(onPressed: () => context.pop(), child: Text(context.l10n.profile_delete_error_cancel)),
Gaps.w8,
FilledButton(onPressed: onRetry, child: Text(context.l10n.profile_delete_error_retry)),
],
Align(
alignment: Alignment.centerRight,
child: Wrap(
alignment: WrapAlignment.end,
runAlignment: WrapAlignment.spaceBetween,
spacing: 8,
children: [
OutlinedButton(onPressed: () => context.pop(), child: Text(context.l10n.profile_delete_error_cancel)),
FilledButton(onPressed: onRetry, child: Text(context.l10n.profile_delete_error_retry)),
],
),
),
],
),
Expand Down

0 comments on commit 637eccd

Please sign in to comment.