Skip to content

Commit

Permalink
feat: Registration completed screen - PR feedback part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalheartxs committed Oct 14, 2024
1 parent 272f9e6 commit 2b5d2b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,16 @@ class _SummaryItem extends StatelessWidget {
),
],
),
if (footer != null)
if (footer != null) ...[
const VoicesDivider(
indent: 70,
endIndent: 0,
),
if (footer != null)
Padding(
padding: const EdgeInsets.only(left: 70),
child: footer,
),
],
],
),
);
Expand Down
8 changes: 5 additions & 3 deletions catalyst_voices/lib/pages/registration/widgets/next_step.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@ class NextStep extends StatelessWidget {
Widget build(BuildContext context) {
final theme = Theme.of(context);
final textColor = theme.colors.textOnPrimaryLevel0;
final data = this.data;

return Column(
mainAxisSize: MainAxisSize.min,
children: [
const SizedBox(height: 8),
VoicesTextDivider(child: Text(context.l10n.yourNextStep)),
const SizedBox(height: 12),
if (data != null)
if (data != null) ...[
Text(
data!,
data,
style: theme.textTheme.bodySmall?.copyWith(color: textColor),
textAlign: TextAlign.center,
),
if (data != null) const SizedBox(height: 12),
const SizedBox(height: 12),
],
],
);
}
Expand Down

0 comments on commit 2b5d2b8

Please sign in to comment.